WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_comment_on_post

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment.php do_action 3568 /**
* Fires before a comment is posted.
*
* @since 2.8.0
*
* @param int $comment_post_id Post ID.
*/

Hook Parameters

Parameter Type Name Description
int $comment_post_id Post ID.