Filter collection parameters for the block pattern directory controller.
$query_paramsarraywp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:374WP_REST_Pattern_Directory_Controller::get_collection_params() * Filter collection parameters for the block pattern directory controller. * * @since 5.8.0 * * @param array $query_params JSON Schema-formatted collection parameters. */ return apply_filters( 'rest_pattern_directory_collection_params', $query_params ); } /** * Include a hash of the query args, so that different requests are stored in * separate caches. *Introduced in 5.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.