wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_comment_on_post › WordPress Action Hooks

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 );