pre_trash_post
Filter Hook: Filters whether a post trashing should take place.
Source: wp-includes/post.php:3346
Filter Hook: Filters whether a post trashing should take place.
Source: wp-includes/post.php:3346
Function: Retrieves a number of recent posts.
Source: wp-includes/post.php:3706
Action Hook: Fires before a post is sent to the Trash.
Source: wp-includes/post.php:3359
Function: Inserts or update a post.
Source: wp-includes/post.php:3813
Action Hook: Fires after a post is sent to the Trash.
Source: wp-includes/post.php:3384
Filter Hook: Filters whether the post should be considered “empty”.
Source: wp-includes/post.php:3910
Function: Restores a post from the Trash.
Source: wp-includes/post.php:3399
Filter Hook: Filters the post parent — used to check for and prevent hierarchy loops.
Source: wp-includes/post.php:4080
Filter Hook: Filters whether a post untrashing should take place.
Source: wp-includes/post.php:3424
Filter Hook: Filters attachment post data before it is updated in or added to the database.
Source: wp-includes/post.php:4174