apply_filters( 'close_comments_for_post_types', string[] $post_types )

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


Parameters Parameters

$post_types

(string[]) An array of post type names.


Top ↑

Source Source

File: wp-includes/comment.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.