W3cubDocs

/WordPress

apply_filters( ‘rest_themes_collection_params’, array $query_params )

Filters REST API collection parameters for the themes controller.

Parameters

$query_paramsarray
JSON Schema-formatted collection parameters.

Source

return apply_filters( 'rest_themes_collection_params', $query_params );

Changelog

Version Description
5.0.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_themes_collection_params