rest_request_from_url

Advertisement

Summery Summery

Filters the request generated from a URL.

Syntax Syntax

apply_filters( 'rest_request_from_url', WP_REST_Request|false $request, string $url )

Parameters Parameters

$request

Generated request object, or false if URL could not be parsed.

$url

URL the request was generated from.

Source Source

File: wp-includes/rest-api/class-wp-rest-request.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Advertisement

Leave a Reply