Action hook 'comment_on_password_protected'

in WP Core File wp-includes/comment.php at line 3587

Description

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

Occurrences

Filename Line Number
wp-includes/comment.php 3587

Parameters

Type Name Description
int $comment_post_id Post ID.

PHP Doc

/**
		 * Fires when a comment is attempted on a password-protected post.
		 *
		 * @since 2.9.0
		 *
		 * @param int $comment_post_id Post ID.
		 */