comment_form_comments_closed

comment_form_comments_closed

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('comment_form_comments_closed') is found 1 times:

  • /wp-includes/comment-template.php line 2481
    		 * is called with an invalid post object or ID.
    		 *
    		 * @since 3.0.0
    		 */
    		do_action( 'comment_form_comments_closed' );
    
    		return;
    	}
    
    	$post_id       = $post->ID;
    	$commenter     = wp_get_current_commenter();