Filters the REST API request generated from a URL.
Parameters
$request
WP_REST_Request|false- Generated request object, or false if URL could not be parsed.
$url
string- URL the request was generated from.
Source
return apply_filters( 'rest_request_from_url', $request, $url );
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.