rest_themes_collection_params
apply_filters( ‘rest_themes_collection_params’, array $query_params )
过滤器::主题控制器的筛选集合参数。
Filter Hook: Filter collection parameters for the themes controller.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$query_params | (array) | JSON模式格式化的集合参数。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
5.0.0 | wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:497 | 1 | 0 |
rest_themes_collection_params 为WP2原创文章,链接:https://www.wp2.cn/hook/rest_themes_collection_params/