WordPress at a glance
filter is not described

rest_request_from_url filter-hook . WP 4.5.0

Filters the request generated from a URL.


add_filter( 'rest_request_from_url', 'filter_function_name_3483', 10, 2 );
function filter_function_name_3483( $request, $url ){
	// filter...

	return $request;
Generated request object, or false if URL could not be parsed.
URL the request was generated from.

Where the hook is called

wp-includes/rest-api/class-wp-rest-request.php 1000
return apply_filters( 'rest_request_from_url', $request, $url );

Where the hook is used (in WP core)

Использование не найдено.