close_comments_for_post_types

最后更新于:2021-11-26 00:08:25

apply_filters( ‘close_comments_for_post_types’, string[] $post_types )

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

参数

$post_types

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

源文件

文件: gc-includes/comment.php

View on Trac