Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
trashed_post

Description

Runs just after a post or page is trashed. 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 trashed_post

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

Version File Line Type
2.9 wp-includes/post.php 1291 View in context action
3.0 wp-includes/post.php 1838 View in context action
3.1 wp-includes/post.php 2065 View in context action
3.2 wp-includes/post.php 2096 View in context action
3.3 wp-includes/post.php 2088 View in context action
3.4 wp-includes/post.php 2134 View in context action
3.5 wp-includes/post.php 2417 View in context action
3.6 wp-includes/post.php 2345 View in context action
3.7 wp-includes/post.php 2416 View in context action
3.8 wp-includes/post.php 2423 View in context action
3.9 wp-includes/post.php 2595 View in context action
4.0 wp-includes/post.php 2745 View in context action
4.1 wp-includes/post.php 2745 View in context action
4.2 wp-includes/post.php 2762 View in context action
4.3 wp-includes/post.php 2792 View in context action
4.4 wp-includes/post.php 2555 View in context action
4.5 wp-includes/post.php 2673 View in context action
4.6 wp-includes/post.php 2528 View in context action
4.7 wp-includes/post.php 2622 View in context action
4.7 wp-includes/theme.php 2900 View in context action
4.8 wp-includes/post.php 2622 View in context action
4.8 wp-includes/theme.php 2921 View in context action
4.9 wp-includes/class-wp-customize-manager.php 2975 View in context action
4.9 wp-includes/post.php 2677 View in context action
5.0 wp-includes/class-wp-customize-manager.php 2982 View in context action
5.0 wp-includes/post.php 2836 View in context action
5.1 wp-includes/class-wp-customize-manager.php 3027 View in context action
5.1 wp-includes/post.php 3001 View in context action
5.2 wp-includes/class-wp-customize-manager.php 3027 View in context action
5.2 wp-includes/post.php 3001 View in context action
5.3 wp-includes/class-wp-customize-manager.php 3064 View in context action
5.3 wp-includes/post.php 3166 View in context action
5.4 wp-includes/class-wp-customize-manager.php 3068 View in context action
5.4 wp-includes/post.php 3177 View in context action
5.5 wp-includes/class-wp-customize-manager.php 3109 View in context action
5.5 wp-includes/post.php 3226 View in context action
5.6 wp-includes/class-wp-customize-manager.php 3113 View in context action
5.6 wp-includes/post.php 3239 View in context action
5.7 wp-includes/class-wp-customize-manager.php 3113 View in context action
5.7 wp-includes/post.php 3326 View in context action
5.8 wp-includes/class-wp-customize-manager.php 3113 View in context action
5.8 wp-includes/post.php 3408 View in context action
5.9 wp-includes/class-wp-customize-manager.php 3113 View in context action
5.9 wp-includes/post.php 3609 View in context action
6.0 wp-includes/class-wp-customize-manager.php 3117 View in context action
6.0 wp-includes/post.php 3592 View in context action
6.1 wp-includes/class-wp-customize-manager.php 3118 View in context action
6.1 wp-includes/post.php 3608 View in context action
6.2 wp-includes/class-wp-customize-manager.php 3118 View in context action
6.2 wp-includes/post.php 3610 View in context action

Related Hooks

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