apply_filters( ‘rest_pattern_directory_collection_params’, array $query_params )

In this article

Filter collection parameters for the block pattern directory controller.

Parameters

$query_paramsarray
JSON Schema-formatted collection parameters.

Source

return apply_filters( 'rest_pattern_directory_collection_params', $query_params );

Changelog

VersionDescription
5.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.