wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_comment_trashable › WordPress Filter Hooks
Since4.7.0
Deprecatedn/a
› apply_filters( 'rest_comment_trashable', ( EMPTY_TRASH_DAYS > 0 )
Parameters: (2) |
|
Defined at: | |
Codex: |
Filters whether a comment can be trashed via the REST API.
Return false to disable trash support for the comment.
Related Functions: wp_comment_trashnotice, get_comment_type, get_comment_date, get_comment_time, get_comment_text, get_comment_statuses
Related Hooks: rest_comment_query, get_comment_text, comment_on_trash, get_comment_type, get_comment_time