A WordPress-centric search engine for devs and theme authors



pre_comment_on_post ›

Since2.8.0
Deprecatedn/a
do_action( 'pre_comment_on_post', $comment_post_ID )
Parameters:
  • (int) $comment_post_ID Post ID.
    Required: Yes
Defined at:
Codex:

Fires before a comment is posted.





Source

do_action( 'pre_comment_on_post', $comment_post_ID );