wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
rest_comment_trashable › Les Filtres WordPress
Depuis4.7.0
Dépréciéen/a
› apply_filters( 'rest_comment_trashable', ( EMPTY_TRASH_DAYS > 0 )
Paramètres: (2) |
|
Défini(e) dans: | |
Codex: |
Filters whether a comment can be trashed via the REST API.
Return false to disable trash support for the comment.
Fonctions en relation: wp_comment_trashnotice, get_comment_type, get_comment_text, get_comment_time, get_comment_date, get_comment_class
Hooks en relation: rest_comment_query, get_comment_text, comment_on_trash, get_comment_type, get_comment_time