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



comment_on_password_protected › WordPress Action Hooks

Since2.9.0
Deprecatedn/a
do_action( 'comment_on_password_protected', $comment_post_id )
Parameters:
  • (int) $comment_post_id Post ID.
    Required: Yes
Defined at:
Codex:

Fires when a comment is attempted on a password-protected post.





Source

do_action( 'comment_on_password_protected', $comment_post_id );