Filters REST API collection parameters for the abilities controller.
Description
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.
Parameters
$query_paramsarray- JSON Schema-formatted collection parameters.
Source
return apply_filters( 'rest_abilities_collection_params', $query_params );
Changelog
| Version | Description |
|---|---|
| 7.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.