rest_block_directory_collection_params

过滤钩子


apply_filters( 'rest_block_directory_collection_params', $query_params )
参数
  • (array)
    $query_params
    JSON Schema-formatted collection parameters.
    Required:
定义位置
  • wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php
    , line 326
引入
5.5.0
弃用

Filters REST API collection parameters for the block directory controller.

return apply_filters( 'rest_block_directory_collection_params', $query_params );