Welcome, visitor! Log in
 

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 3.9.

Version File Line Type
2.1 wp-admin/custom-header.php 290 View hook in source filter
2.1 wp-includes/post.php 1391 View hook in source filter
2.1 wp-includes/post.php 1396 View hook in source filter
2.2 wp-admin/custom-header.php 298 View hook in source filter
2.2 wp-admin/link-import.php 126 View hook in source filter
2.2 wp-includes/post.php 1397 View hook in source filter
2.2 wp-includes/post.php 1402 View hook in source filter
2.3 wp-admin/custom-header.php 298 View hook in source filter
2.3 wp-admin/link-import.php 126 View hook in source filter
2.3 wp-includes/post.php 1444 View hook in source filter
2.3 wp-includes/post.php 1449 View hook in source filter
2.5 wp-admin/custom-header.php 312 View hook in source filter
2.5 wp-admin/custom-header.php 313 View hook in source filter
2.5 wp-includes/post.php 2178 View hook in source filter
2.5 wp-includes/post.php 2187 View hook in source filter
2.5 wp-includes/post.php 2192 View hook in source filter
2.5 wp-admin/link-import.php 125 View hook in source action
2.6 wp-admin/custom-header.php 336 View hook in source filter
2.6 wp-admin/custom-header.php 337 View hook in source filter
2.6 wp-includes/post.php 2313 View hook in source filter
2.6 wp-includes/post.php 2322 View hook in source filter
2.6 wp-includes/post.php 2327 View hook in source filter
2.6 wp-admin/link-import.php 125 View hook in source action
2.7 wp-admin/custom-header.php 432 View hook in source filter
2.7 wp-admin/custom-header.php 433 View hook in source filter
2.7 wp-includes/post.php 2455 View hook in source filter
2.7 wp-includes/post.php 2464 View hook in source filter
2.7 wp-includes/post.php 2469 View hook in source filter
2.7 wp-admin/import/opml.php 138 View hook in source action
2.8 wp-admin/custom-header.php 440 View hook in source filter
2.8 wp-admin/custom-header.php 441 View hook in source filter
2.8 wp-includes/post.php 2610 View hook in source filter
2.8 wp-includes/post.php 2619 View hook in source filter
2.8 wp-includes/post.php 2624 View hook in source filter
2.8 wp-admin/import/opml.php 139 View hook in source action
2.9 wp-admin/custom-header.php 440 View hook in source filter
2.9 wp-admin/custom-header.php 441 View hook in source filter
2.9 wp-admin/includes/image-edit.php 438 View hook in source filter
2.9 wp-admin/includes/image-edit.php 463 View hook in source filter
2.9 wp-admin/includes/image-edit.php 654 View hook in source filter
2.9 wp-includes/post.php 2885 View hook in source filter
2.9 wp-includes/post.php 2894 View hook in source filter
2.9 wp-includes/post.php 2902 View hook in source filter
2.9 wp-includes/post.php 2907 View hook in source filter
2.9 wp-admin/import/opml.php 139 View hook in source action
3.0 wp-admin/custom-header.php 687 View hook in source filter
3.0 wp-admin/custom-header.php 688 View hook in source filter
3.0 wp-admin/includes/image-edit.php 442 View hook in source filter
3.0 wp-admin/includes/image-edit.php 467 View hook in source filter
3.0 wp-admin/includes/image-edit.php 658 View hook in source filter
3.0 wp-includes/post.php 3491 View hook in source filter
3.0 wp-includes/post.php 3499 View hook in source filter
3.0 wp-includes/post.php 3507 View hook in source filter
3.0 wp-includes/post.php 3512 View hook in source filter
3.1 wp-admin/custom-header.php 701 View hook in source filter
3.1 wp-admin/custom-header.php 702 View hook in source filter
3.1 wp-admin/includes/image-edit.php 443 View hook in source filter
3.1 wp-admin/includes/image-edit.php 468 View hook in source filter
3.1 wp-admin/includes/image-edit.php 659 View hook in source filter
3.1 wp-includes/post.php 3733 View hook in source filter
3.1 wp-includes/post.php 3741 View hook in source filter
3.1 wp-includes/post.php 3749 View hook in source filter
3.1 wp-includes/post.php 3754 View hook in source filter
3.2 wp-admin/custom-header.php 757 View hook in source filter
3.2 wp-admin/custom-header.php 758 View hook in source filter
3.2 wp-admin/includes/image-edit.php 443 View hook in source filter
3.2 wp-admin/includes/image-edit.php 468 View hook in source filter
3.2 wp-admin/includes/image-edit.php 659 View hook in source filter
3.2 wp-includes/post.php 3818 View hook in source filter
3.2 wp-includes/post.php 3826 View hook in source filter
3.2 wp-includes/post.php 3834 View hook in source filter
3.2 wp-includes/post.php 3839 View hook in source filter
3.3 wp-admin/custom-header.php 767 View hook in source filter
3.3 wp-admin/custom-header.php 768 View hook in source filter
3.3 wp-admin/includes/image-edit.php 443 View hook in source filter
3.3 wp-admin/includes/image-edit.php 468 View hook in source filter
3.3 wp-admin/includes/image-edit.php 659 View hook in source filter
3.3 wp-includes/post.php 3815 View hook in source filter
3.3 wp-includes/post.php 3823 View hook in source filter
3.3 wp-includes/post.php 3831 View hook in source filter
3.3 wp-includes/post.php 3836 View hook in source filter
3.4 wp-admin/custom-header.php 898 View hook in source filter
3.4 wp-admin/custom-header.php 900 View hook in source filter
3.4 wp-admin/includes/image-edit.php 403 View hook in source filter
3.4 wp-admin/includes/image-edit.php 428 View hook in source filter
3.4 wp-admin/includes/image-edit.php 619 View hook in source filter
3.4 wp-includes/post.php 3860 View hook in source filter
3.4 wp-includes/post.php 3867 View hook in source filter
3.4 wp-includes/post.php 3874 View hook in source filter
3.4 wp-includes/post.php 3879 View hook in source filter
3.5 wp-admin/custom-header.php 871 View hook in source filter
3.5 wp-admin/custom-header.php 873 View hook in source filter
3.5 wp-admin/includes/image-edit.php 499 View hook in source filter
3.5 wp-admin/includes/image-edit.php 522 View hook in source filter
3.5 wp-admin/includes/image-edit.php 722 View hook in source filter
3.5 wp-includes/post.php 4116 View hook in source filter
3.5 wp-includes/post.php 4123 View hook in source filter
3.5 wp-includes/post.php 4130 View hook in source filter
3.5 wp-includes/post.php 4135 View hook in source filter
3.6 wp-admin/custom-header.php 871 View hook in source filter
3.6 wp-admin/custom-header.php 873 View hook in source filter
3.6 wp-admin/includes/image-edit.php 502 View hook in source filter
3.6 wp-admin/includes/image-edit.php 525 View hook in source filter
3.6 wp-admin/includes/image-edit.php 725 View hook in source filter
3.6 wp-includes/post.php 4097 View hook in source filter
3.6 wp-includes/post.php 4104 View hook in source filter
3.6 wp-includes/post.php 4111 View hook in source filter
3.6 wp-includes/post.php 4116 View hook in source filter
3.7 wp-admin/custom-header.php 897 View hook in source filter
3.7 wp-admin/custom-header.php 902 View hook in source filter
3.7 wp-admin/includes/image-edit.php 503 View hook in source filter
3.7 wp-admin/includes/image-edit.php 527 View hook in source filter
3.7 wp-admin/includes/image-edit.php 728 View hook in source filter
3.7 wp-includes/post.php 4194 View hook in source filter
3.7 wp-includes/post.php 4202 View hook in source filter
3.7 wp-includes/post.php 4210 View hook in source filter
3.7 wp-includes/post.php 4216 View hook in source filter
3.8 wp-admin/custom-header.php 895 View hook in source filter
3.8 wp-admin/custom-header.php 900 View hook in source filter
3.8 wp-admin/includes/image-edit.php 504 View hook in source filter
3.8 wp-admin/includes/image-edit.php 528 View hook in source filter
3.8 wp-admin/includes/image-edit.php 729 View hook in source filter
3.8 wp-includes/post.php 4204 View hook in source filter
3.8 wp-includes/post.php 4212 View hook in source filter
3.8 wp-includes/post.php 4220 View hook in source filter
3.8 wp-includes/post.php 4226 View hook in source filter
3.9 wp-admin/custom-header.php 872 View hook in source filter
3.9 wp-admin/custom-header.php 877 View hook in source filter
3.9 wp-admin/includes/image-edit.php 583 View hook in source filter
3.9 wp-admin/includes/image-edit.php 607 View hook in source filter
3.9 wp-admin/includes/image-edit.php 820 View hook in source filter
3.9 wp-includes/post.php 4686 View hook in source filter
3.9 wp-includes/post.php 4694 View hook in source filter
3.9 wp-includes/post.php 4702 View hook in source filter
3.9 wp-includes/post.php 4708 View hook in source 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.