wpseek.com
WordPress开发者和主题制作者的搜索引擎



rest_abilities_collection_params › WordPress过滤钩子

Since7.1.0
已弃用n/a
› apply_filters( 'rest_abilities_collection_params', $query_params )
参数:
  • () query_params JSON Schema-formatted collection parameters.
    Required: Yes
定义在:
文档:

Filters REST API collection parameters for the abilities controller.

Use this to declare the schema type of a custom meta key. A declared type lets REST coerce a query-string value, for example "true" to a boolean, before the meta filter matches it.




源码

return apply_filters( 'rest_abilities_collection_params', $query_params );