wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



rest_abilities_collection_params › Filtr WordPress Hooks

Od7.1.0
Przestarzałyn/a
› apply_filters( 'rest_abilities_collection_params', $query_params )
Parametry:
  • () query_params JSON Schema-formatted collection parameters.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

return apply_filters( 'rest_abilities_collection_params', $query_params );