WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about trash_post_comments

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php do_action 3741 /**
* Fires before comments are sent to the Trash.
*
* @since 2.9.0
*
* @param int $post_id Post ID.
*/

Hook Parameters

Parameter Type Name Description
int $post_id Post ID.