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



rest_endpoints_description ›

Since4.4.0
已弃用n/a
apply_filters( 'rest_endpoints_description', $data )
参数:
  • (WP_REST_Request) $request Request data. The namespace is passed as the 'namespace' parameter.
    Required: Yes
定义在:
文档:

Filters the REST endpoint data.





源码

$available[ $route ] = apply_filters( 'rest_endpoints_description', $data );