wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_comment_collection_params › WordPress过滤钩子
Since4.7.0
已弃用n/a
› apply_filters( 'rest_comment_collection_params', $query_params )
| 参数: |
|
| 定义在: | |
| 文档: |
Filters REST API collection parameters for the comments controller.
This filter registers the collection parameter, but does not map the collection parameter to an internal WP_Comment_Query parameter. Use the `rest_comment_query` filter to set WP_Comment_Query parameters.Related Functions: wp_register_icon_collection, get_comment_class, rest_cookie_collect_status, wp_unregister_icon_collection, wp_register_core_field_collections, wp_register_font_collection