Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
deleted_post

Description

Runs just after a post or page is deleted. Action function arguments: post or page ID.

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 deleted_post

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

Version File Line Type
2.2 wp-includes/post.php 438 View in context action
2.3 wp-includes/post.php 536 View in context action
2.5 wp-includes/post.php 1021 View in context action
2.6 wp-includes/post.php 1084 View in context action
2.7 wp-includes/post.php 1157 View in context action
2.8 wp-includes/post.php 1202 View in context action
2.9 wp-includes/post.php 1241 View in context action
2.9 wp-includes/post.php 1256 View in context action
2.9 wp-includes/post.php 2877 View in context action
3.0 wp-includes/post.php 1785 View in context action
3.0 wp-includes/post.php 1800 View in context action
3.0 wp-includes/post.php 3483 View in context action
3.1 wp-includes/post.php 2012 View in context action
3.1 wp-includes/post.php 2027 View in context action
3.1 wp-includes/post.php 3725 View in context action
3.2 wp-includes/post.php 2043 View in context action
3.2 wp-includes/post.php 3810 View in context action
3.3 wp-includes/post.php 2035 View in context action
3.3 wp-includes/post.php 3807 View in context action
3.4 wp-includes/post.php 2085 View in context action
3.4 wp-includes/post.php 3852 View in context action
3.5 wp-includes/post.php 2368 View in context action
3.5 wp-includes/post.php 4108 View in context action
3.6 wp-includes/post.php 2296 View in context action
3.6 wp-includes/post.php 4089 View in context action
3.7 wp-includes/post.php 2339 View in context action
3.7 wp-includes/post.php 4185 View in context action
3.8 wp-includes/post.php 2346 View in context action
3.8 wp-includes/post.php 4195 View in context action
3.9 wp-includes/post.php 2496 View in context action
3.9 wp-includes/post.php 4677 View in context action
4.0 wp-includes/post.php 2642 View in context action
4.0 wp-includes/post.php 4808 View in context action
4.1 wp-includes/post.php 2642 View in context action
4.1 wp-includes/post.php 4806 View in context action
4.2 wp-includes/post.php 2661 View in context action
4.2 wp-includes/post.php 4854 View in context action
4.3 wp-includes/post.php 2691 View in context action
4.3 wp-includes/post.php 4932 View in context action
4.4 wp-includes/post.php 2454 View in context action
4.4 wp-includes/post.php 4745 View in context action
4.5 wp-includes/post.php 2572 View in context action
4.5 wp-includes/post.php 4896 View in context action
4.6 wp-includes/post.php 2427 View in context action
4.6 wp-includes/post.php 4798 View in context action
4.7 wp-includes/post.php 2521 View in context action
4.7 wp-includes/post.php 4915 View in context action
4.8 wp-includes/post.php 2521 View in context action
4.8 wp-includes/post.php 4920 View in context action
4.9 wp-includes/post.php 2559 View in context action
4.9 wp-includes/post.php 4998 View in context action
5.0 wp-includes/post.php 2718 View in context action
5.0 wp-includes/post.php 5168 View in context action
5.1 wp-includes/post.php 2877 View in context action
5.1 wp-includes/post.php 5448 View in context action

Related Hooks

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