WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about add_trashed_suffix_to_trashed_posts

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php apply_filters 4335 /**
* Filters whether or not to add a `__trashed` suffix to trashed posts that match the name of the updated post.
*
* @since 5.4.0
*
* @param bool $add_trashed_suffix Whether to attempt to add the suffix.
* @param string $post_name The name of the post being updated.
* @param int $post_ID Post ID.
*/

Hook Parameters

Parameter Type Name Description
bool $add_trashed_suffix Whether to attempt to add the suffix.
string $post_name The name of the post being updated.
int $post_ID Post ID.