WordPress at a glance
filter is not described

close_comments_for_post_types filter-hook . WP 3.2.0

Filters the list of post types to automatically close comments for.

Usage

add_filter( 'close_comments_for_post_types', 'filter_function_name_9220' );
function filter_function_name_9220( $post_types ){
	// filter...

	return $post_types;
}
$post_types(string[])
An array of post type names.

Changelog

Since 3.2.0 Introduced.

Where the hook is called

_close_comments_for_old_posts()
close_comments_for_post_types
_close_comments_for_old_post()
close_comments_for_post_types
wp-includes/comment.php 3052
$post_types = apply_filters( 'close_comments_for_post_types', array( 'post' ) );
wp-includes/comment.php 3097
$post_types = apply_filters( 'close_comments_for_post_types', array( 'post' ) );

Where the hook is used (in WP core)

Usage not found!