wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_comment_trashable › WordPress过滤钩子
Since4.7.0
已弃用n/a
› apply_filters( 'rest_comment_trashable', ( EMPTY_TRASH_DAYS > 0 )
参数: (2) |
|
定义在: | |
文档: |
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_text, get_comment_time, get_comment_date, get_comment_class
Related Hooks: rest_comment_query, get_comment_text, comment_on_trash, get_comment_type, get_comment_time