rest_block_directory_collection_params WordPress Filter Hook
The rest_block_directory_collection_params hook is used to filter the parameters used to query the Block Directory Collection.
apply_filters( 'rest_block_directory_collection_params', array $query_params ) #
Filters REST API collection parameters for the block directory controller.
Parameters
- $query_params
(array)JSON Schema-formatted collection parameters.
Source
File: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |