wpseek.com
WordPress开发者和主题制作者的搜索引擎



rest_index › WordPress过滤钩子

Since6.0.0
已弃用n/a
› apply_filters( 'rest_index', $response, $request )
参数: (2)
  • () response Response data.
    Required: Yes
  • () request Request data.
    Required: Yes
定义在:
文档:

Filters the REST API root index data.

This contains the data describing the API. This includes information about supported authentication schemes, supported namespaces, routes available on the API, and a small amount of data about the site.




源码

return apply_filters( 'rest_index', $response, $request );