comment_form_comments_closed action-hookWP 3.0.0

Fires after the comment form if comments are closed.

For backward compatibility, this action also fires if comment_form() is called with an invalid post object or ID.

Usage

add_action( 'comment_form_comments_closed', 'wp_kama_comment_form_comments_closed_action' );

/**
 * Function for `comment_form_comments_closed` action-hook.
 * 
 * @return void
 */
function wp_kama_comment_form_comments_closed_action(){

	// action...
}

Changelog

Since 3.0.0 Introduced.

Where the hook is called

comment_form()
comment_form_comments_closed
wp-includes/comment-template.php 2481
do_action( 'comment_form_comments_closed' );

Where the hook is used in WordPress

Usage not found.