wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
close_comments_for_post_types › Les Filtres WordPress
Depuis3.2.0
Dépréciéen/a
› apply_filters( 'close_comments_for_post_types', array( 'post' )
Paramètres: |
|
Défini(e) dans: |
|
Codex: |
Filters the list of post types to automatically close comments for.
Fonctions en relation: _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
Hooks en relation: pre_comment_on_post, set_comment_cookies, get_comment_type, comment_form_top, view_mode_post_types