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



rest_request_from_url ›

Since4.5.0
已弃用n/a
apply_filters( 'rest_request_from_url', $request, $url )
参数: (2)
  • (WP_REST_Request|false) $request Generated request object, or false if URL could not be parsed.
    Required: Yes
  • (string) $url URL the request was generated from.
    Required: Yes
定义在:
文档:

Filters the request generated from a URL.





源码

return apply_filters( 'rest_request_from_url', $request, $url );