Filter hook 'rest_queried_resource_route'

in WP Core File wp-includes/rest-api.php at line 3278

Description

Filters the REST route for the currently queried object.

Occurrences

Filename Line Number
wp-includes/rest-api.php 3278

Parameters

Type Name Description
string $link The route with a leading slash, or an empty string.

PHP Doc

/**
	 * Filters the REST route for the currently queried object.
	 *
	 * @since 5.5.0
	 *
	 * @param string $link The route with a leading slash, or an empty string.
	 */