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.


Top ↑

Source

File: wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.