Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
wp_delete_file

Description

Applied to an attachment file name just before deleting.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for wp_delete_file

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.1 wp-admin/custom-header.php 290 View in context filter
2.1 wp-includes/post.php 1391 View in context filter
2.1 wp-includes/post.php 1396 View in context filter
2.2 wp-admin/custom-header.php 298 View in context filter
2.2 wp-admin/link-import.php 126 View in context filter
2.2 wp-includes/post.php 1397 View in context filter
2.2 wp-includes/post.php 1402 View in context filter
2.3 wp-admin/custom-header.php 298 View in context filter
2.3 wp-admin/link-import.php 126 View in context filter
2.3 wp-includes/post.php 1444 View in context filter
2.3 wp-includes/post.php 1449 View in context filter
2.5 wp-admin/custom-header.php 312 View in context filter
2.5 wp-admin/custom-header.php 313 View in context filter
2.5 wp-includes/post.php 2178 View in context filter
2.5 wp-includes/post.php 2187 View in context filter
2.5 wp-includes/post.php 2192 View in context filter
2.5 wp-admin/link-import.php 125 View in context action
2.6 wp-admin/custom-header.php 336 View in context filter
2.6 wp-admin/custom-header.php 337 View in context filter
2.6 wp-includes/post.php 2313 View in context filter
2.6 wp-includes/post.php 2322 View in context filter
2.6 wp-includes/post.php 2327 View in context filter
2.6 wp-admin/link-import.php 125 View in context action
2.7 wp-admin/custom-header.php 432 View in context filter
2.7 wp-admin/custom-header.php 433 View in context filter
2.7 wp-includes/post.php 2455 View in context filter
2.7 wp-includes/post.php 2464 View in context filter
2.7 wp-includes/post.php 2469 View in context filter
2.7 wp-admin/import/opml.php 138 View in context action
2.8 wp-admin/custom-header.php 440 View in context filter
2.8 wp-admin/custom-header.php 441 View in context filter
2.8 wp-includes/post.php 2610 View in context filter
2.8 wp-includes/post.php 2619 View in context filter
2.8 wp-includes/post.php 2624 View in context filter
2.8 wp-admin/import/opml.php 139 View in context action
2.9 wp-admin/custom-header.php 440 View in context filter
2.9 wp-admin/custom-header.php 441 View in context filter
2.9 wp-admin/includes/image-edit.php 438 View in context filter
2.9 wp-admin/includes/image-edit.php 463 View in context filter
2.9 wp-admin/includes/image-edit.php 654 View in context filter
2.9 wp-includes/post.php 2885 View in context filter
2.9 wp-includes/post.php 2894 View in context filter
2.9 wp-includes/post.php 2902 View in context filter
2.9 wp-includes/post.php 2907 View in context filter
2.9 wp-admin/import/opml.php 139 View in context action
3.0 wp-admin/custom-header.php 687 View in context filter
3.0 wp-admin/custom-header.php 688 View in context filter
3.0 wp-admin/includes/image-edit.php 442 View in context filter
3.0 wp-admin/includes/image-edit.php 467 View in context filter
3.0 wp-admin/includes/image-edit.php 658 View in context filter
3.0 wp-includes/post.php 3491 View in context filter
3.0 wp-includes/post.php 3499 View in context filter
3.0 wp-includes/post.php 3507 View in context filter
3.0 wp-includes/post.php 3512 View in context filter
3.1 wp-admin/custom-header.php 701 View in context filter
3.1 wp-admin/custom-header.php 702 View in context filter
3.1 wp-admin/includes/image-edit.php 443 View in context filter
3.1 wp-admin/includes/image-edit.php 468 View in context filter
3.1 wp-admin/includes/image-edit.php 659 View in context filter
3.1 wp-includes/post.php 3733 View in context filter
3.1 wp-includes/post.php 3741 View in context filter
3.1 wp-includes/post.php 3749 View in context filter
3.1 wp-includes/post.php 3754 View in context filter
3.2 wp-admin/custom-header.php 757 View in context filter
3.2 wp-admin/custom-header.php 758 View in context filter
3.2 wp-admin/includes/image-edit.php 443 View in context filter
3.2 wp-admin/includes/image-edit.php 468 View in context filter
3.2 wp-admin/includes/image-edit.php 659 View in context filter
3.2 wp-includes/post.php 3818 View in context filter
3.2 wp-includes/post.php 3826 View in context filter
3.2 wp-includes/post.php 3834 View in context filter
3.2 wp-includes/post.php 3839 View in context filter
3.3 wp-admin/custom-header.php 767 View in context filter
3.3 wp-admin/custom-header.php 768 View in context filter
3.3 wp-admin/includes/image-edit.php 443 View in context filter
3.3 wp-admin/includes/image-edit.php 468 View in context filter
3.3 wp-admin/includes/image-edit.php 659 View in context filter
3.3 wp-includes/post.php 3815 View in context filter
3.3 wp-includes/post.php 3823 View in context filter
3.3 wp-includes/post.php 3831 View in context filter
3.3 wp-includes/post.php 3836 View in context filter
3.4 wp-admin/custom-header.php 898 View in context filter
3.4 wp-admin/custom-header.php 900 View in context filter
3.4 wp-admin/includes/image-edit.php 403 View in context filter
3.4 wp-admin/includes/image-edit.php 428 View in context filter
3.4 wp-admin/includes/image-edit.php 619 View in context filter
3.4 wp-includes/post.php 3860 View in context filter
3.4 wp-includes/post.php 3867 View in context filter
3.4 wp-includes/post.php 3874 View in context filter
3.4 wp-includes/post.php 3879 View in context filter
3.5 wp-admin/custom-header.php 871 View in context filter
3.5 wp-admin/custom-header.php 873 View in context filter
3.5 wp-admin/includes/image-edit.php 499 View in context filter
3.5 wp-admin/includes/image-edit.php 522 View in context filter
3.5 wp-admin/includes/image-edit.php 722 View in context filter
3.5 wp-includes/post.php 4116 View in context filter
3.5 wp-includes/post.php 4123 View in context filter
3.5 wp-includes/post.php 4130 View in context filter
3.5 wp-includes/post.php 4135 View in context filter
3.6 wp-admin/custom-header.php 871 View in context filter
3.6 wp-admin/custom-header.php 873 View in context filter
3.6 wp-admin/includes/image-edit.php 502 View in context filter
3.6 wp-admin/includes/image-edit.php 525 View in context filter
3.6 wp-admin/includes/image-edit.php 725 View in context filter
3.6 wp-includes/post.php 4097 View in context filter
3.6 wp-includes/post.php 4104 View in context filter
3.6 wp-includes/post.php 4111 View in context filter
3.6 wp-includes/post.php 4116 View in context filter
3.7 wp-admin/custom-header.php 897 View in context filter
3.7 wp-admin/custom-header.php 902 View in context filter
3.7 wp-admin/includes/image-edit.php 503 View in context filter
3.7 wp-admin/includes/image-edit.php 527 View in context filter
3.7 wp-admin/includes/image-edit.php 728 View in context filter
3.7 wp-includes/post.php 4194 View in context filter
3.7 wp-includes/post.php 4202 View in context filter
3.7 wp-includes/post.php 4210 View in context filter
3.7 wp-includes/post.php 4216 View in context filter
3.8 wp-admin/custom-header.php 895 View in context filter
3.8 wp-admin/custom-header.php 900 View in context filter
3.8 wp-admin/includes/image-edit.php 504 View in context filter
3.8 wp-admin/includes/image-edit.php 528 View in context filter
3.8 wp-admin/includes/image-edit.php 729 View in context filter
3.8 wp-includes/post.php 4204 View in context filter
3.8 wp-includes/post.php 4212 View in context filter
3.8 wp-includes/post.php 4220 View in context filter
3.8 wp-includes/post.php 4226 View in context filter
3.9 wp-admin/custom-header.php 872 View in context filter
3.9 wp-admin/custom-header.php 877 View in context filter
3.9 wp-admin/includes/image-edit.php 583 View in context filter
3.9 wp-admin/includes/image-edit.php 607 View in context filter
3.9 wp-admin/includes/image-edit.php 820 View in context filter
3.9 wp-includes/post.php 4686 View in context filter
3.9 wp-includes/post.php 4694 View in context filter
3.9 wp-includes/post.php 4702 View in context filter
3.9 wp-includes/post.php 4708 View in context filter
4.0 wp-admin/custom-header.php 947 View in context filter
4.0 wp-admin/custom-header.php 952 View in context filter
4.0 wp-admin/includes/image-edit.php 583 View in context filter
4.0 wp-admin/includes/image-edit.php 608 View in context filter
4.0 wp-admin/includes/image-edit.php 822 View in context filter
4.0 wp-includes/post.php 4817 View in context filter
4.0 wp-includes/post.php 4825 View in context filter
4.0 wp-includes/post.php 4833 View in context filter
4.0 wp-includes/post.php 4839 View in context filter
4.1 wp-admin/custom-header.php 962 View in context filter
4.1 wp-admin/custom-header.php 967 View in context filter
4.1 wp-admin/includes/image-edit.php 593 View in context filter
4.1 wp-admin/includes/image-edit.php 618 View in context filter
4.1 wp-admin/includes/image-edit.php 832 View in context filter
4.1 wp-includes/post.php 4815 View in context filter
4.1 wp-includes/post.php 4825 View in context filter
4.1 wp-includes/post.php 4834 View in context filter
4.1 wp-includes/post.php 4840 View in context filter
4.2 wp-includes/functions.php 4843 View in context filter
4.2 wp-includes/post.php 4863 View in context filter
4.2 wp-includes/post.php 4873 View in context filter
4.2 wp-includes/post.php 4882 View in context filter
4.3 wp-includes/functions.php 4959 View in context filter
4.3 wp-includes/post.php 4941 View in context filter
4.3 wp-includes/post.php 4951 View in context filter
4.3 wp-includes/post.php 4960 View in context filter
4.4 wp-includes/functions.php 5112 View in context filter
4.4 wp-includes/post.php 4754 View in context filter
4.4 wp-includes/post.php 4764 View in context filter
4.4 wp-includes/post.php 4773 View in context filter
4.5 wp-includes/functions.php 5226 View in context filter
4.5 wp-includes/post.php 4905 View in context filter
4.5 wp-includes/post.php 4915 View in context filter
4.5 wp-includes/post.php 4924 View in context filter
4.6 wp-includes/functions.php 5302 View in context filter
4.6 wp-includes/post.php 4807 View in context filter
4.6 wp-includes/post.php 4817 View in context filter
4.6 wp-includes/post.php 4826 View in context filter
4.7 wp-includes/functions.php 5394 View in context filter
4.7 wp-includes/post.php 4924 View in context filter
4.7 wp-includes/post.php 4934 View in context filter
4.7 wp-includes/post.php 4943 View in context filter
4.8 wp-includes/functions.php 5444 View in context filter
4.8 wp-includes/post.php 4929 View in context filter
4.8 wp-includes/post.php 4939 View in context filter
4.8 wp-includes/post.php 4948 View in context filter
4.9 wp-includes/functions.php 5497 View in context filter
4.9 wp-includes/post.php 5007 View in context filter
4.9 wp-includes/post.php 5017 View in context filter
4.9 wp-includes/post.php 5026 View in context filter
5.0 wp-includes/functions.php 5527 View in context filter
5.1 wp-includes/functions.php 6162 View in context filter

Related Hooks

We find related hooks using word stems. wp_delete_file has 2 significant word stem(s): delete, file. Note that some of the hooks below may not appear in all versions of WP.