Uma área de pesquisa sobre o WordPress para devs e autores do tema



rest_request_from_url ›

Desde4.5.0
Obsoleton/a
apply_filters( 'rest_request_from_url', $request, $url )
Parâmetros: (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
Definido em:
Codex:

Filters the request generated from a URL.





Fonte

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