comments_open

comments_open

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.1.1

apply_filters('comments_open') is found 1 times:

  • /wp-includes/comment-template.php line 1251
    	 *
    	 * @param bool $open    Whether the current post is open for comments.
    	 * @param int  $post_id The post ID.
    	 */
    	return apply_filters( 'comments_open', $open, $post_id );
    }
    
    /**
     * Determines whether the current post is open for pings.
     *
     * For more information on this and similar theme functions, check out
    

See this hook used in plugins:

Examples using comments_open