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: |
|
Defined at: |
|
Codex: |
Fires before a comment is posted.
Related Functions: get_comment_count, _close_comments_for_old_post, wp_set_comment_cookies, separate_comments, wp_new_comment_notify_postauthor, _close_comments_for_old_posts
Related Hooks: pre_comment_content, comment_post, pre_comment_approved, comment_on_trash, comment_on_draft