do_action( 'pre_comment_on_post', int $comment_post_ID )

Fires before a comment is posted.


Parameters

$comment_post_ID

Post ID.


Source

File: wp-includes/comment.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.8.0 Introduced.