Filter hook 'rest_prepare_url_details'

in WP Core File wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php at line 187

Description

Filters the URL data for the response.

Occurrences

Filename Line Number
wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php 187

Parameters

Type Name Description
WP_REST_Response $response The response object.
string $url The requested URL.
WP_REST_Request $request Request object.
string $remote_url_response HTTP response body from the remote URL.

PHP Doc

/**
		 * Filters the URL data for the response.
		 *
		 * @since 5.9.0
		 *
		 * @param WP_REST_Response $response            The response object.
		 * @param string           $url                 The requested URL.
		 * @param WP_REST_Request  $request             Request object.
		 * @param string           $remote_url_response HTTP response body from the remote URL.
		 */