wpseek.com
WordPress开发者和主题制作者的搜索引擎
close_comments_for_post_types › WordPress过滤钩子
Since3.2.0
已弃用n/a
› apply_filters( 'close_comments_for_post_types', array( 'post' )
参数: |
|
定义在: |
|
文档: |
Filters the list of post types to automatically close comments for.
Related Functions: _close_comments_for_old_posts, _close_comments_for_old_post, wp_latest_comments_draft_or_post_title, use_block_editor_for_post_type, set_post_type, get_comment_type
Related Hooks: pre_comment_on_post, set_comment_cookies, get_comment_type, comment_form_top, view_mode_post_types