A WordPress-centric search engine for devs and theme authors



rest_request_from_url ›

Since4.5.0
Deprecatedn/a
apply_filters( 'rest_request_from_url', $request, $url )
Parameters: (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
Defined at:
Codex:

Filters the request generated from a URL.





Source

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