comment_on_password_protected

comment_on_password_protected

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

do_action('comment_on_password_protected') is found 1 times:

  • /wp-includes/comment.php line 3485
    		 * @since 2.9.0
    		 *
    		 * @param int $comment_post_ID Post ID.
    		 */
    		do_action( 'comment_on_password_protected', $comment_post_ID );
    
    		return new WP_Error( 'comment_on_password_protected' );
    
    	} else {
    
    		/**