wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
rest_comment_trashable › Hooks de Filtros WordPress
Desde4.7.0
Obsoleton/a
› apply_filters( 'rest_comment_trashable', ( EMPTY_TRASH_DAYS > 0 )
| Parâmetros: (2) |
|
| Definido em: | |
| Codex: |
Filters whether a comment can be trashed via the REST API.
Return false to disable trash support for the comment.Funções relacionadas: get_comment_date, get_comment_text, get_comment_time, get_comment_type, wp_comment_trashnotice, get_comment_class
Hooks relacionados: rest_comment_query, comment_on_trash, get_comment_date, get_comment_text, get_comment_time