wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



rest_abilities_collection_params › WordPress Filter Hooks

Da7.1.0
Deprecaton/a
› apply_filters( 'rest_abilities_collection_params', $query_params )
Parametri:
  • () query_params JSON Schema-formatted collection parameters.
    Richiesto: Sì
Definito a:
Codex:

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.




Sorgenti

return apply_filters( 'rest_abilities_collection_params', $query_params );