Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory

WordPress version history for pre_trash_post

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

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

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.