Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
pre_trash_post

WordPress version history for pre_trash_post

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

Version File Line Type
4.9 wp-includes/class-wp-customize-manager.php 2941 View in context filter
4.9 wp-includes/post.php 2649 View in context filter
5.0 wp-includes/class-wp-customize-manager.php 2948 View in context filter
5.0 wp-includes/post.php 2808 View in context filter
5.1 wp-includes/class-wp-customize-manager.php 2990 View in context filter
5.1 wp-includes/post.php 2968 View in context filter
5.2 wp-includes/class-wp-customize-manager.php 2990 View in context filter
5.2 wp-includes/post.php 2968 View in context filter
5.3 wp-includes/class-wp-customize-manager.php 3027 View in context filter
5.3 wp-includes/post.php 3129 View in context filter
5.4 wp-includes/class-wp-customize-manager.php 3031 View in context filter
5.4 wp-includes/post.php 3140 View in context filter
5.5 wp-includes/class-wp-customize-manager.php 3072 View in context filter
5.5 wp-includes/post.php 3189 View in context filter
5.6 wp-includes/class-wp-customize-manager.php 3074 View in context filter
5.6 wp-includes/post.php 3201 View in context filter
5.7 wp-includes/class-wp-customize-manager.php 3074 View in context filter
5.7 wp-includes/post.php 3288 View in context filter

Important warning!

This hook does not occur in the most recent version of WordPress (4.4). Do not use it. It is deprecated. You should look at the list of "related hooks" below to see if you can figure out what replaced it.

Related Hooks

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