comment_closed

comment_closed

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

do_action('comment_closed') is found 1 times:

  • /wp-includes/comment.php line 3443
    		 * @since 1.5.0
    		 *
    		 * @param int $comment_post_ID Post ID.
    		 */
    		do_action( 'comment_closed', $comment_post_ID );
    
    		return new WP_Error( 'comment_closed', __( 'Sorry, comments are closed for this item.' ), 403 );
    
    	} elseif ( 'trash' === $status ) {
    
    		/**