wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



rest_abilities_collection_params › WordPress Filter Hooks

Seit7.1.0
Veraltetn/v
apply_filters( 'rest_abilities_collection_params', $query_params )
Parameter:
  • () query_params JSON Schema-formatted collection parameters.
    Erforderlich: Ja
Definiert in:
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.




Quellcode

return apply_filters( 'rest_abilities_collection_params', $query_params );