wpseek.com
A WordPress-centric search engine for devs and theme authors
close_comments_for_post_types › WordPress Filter Hooks
Since3.2.0
Deprecatedn/a
› apply_filters( 'close_comments_for_post_types', array( 'post' )
Parameters: |
|
Defined at: |
|
Codex: |
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