apply_filters( 'close_comments_for_post_types', array $post_types )

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


Parameters

$post_types

(array) An array of registered post types. Default array with 'post'.


Source

File: wp-includes/comment.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.2.0 Introduced.