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

Filters the request generated from a URL.


Description Description


Parameters 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.


Top ↑

Source Source

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

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.