WordPress at a glance
filter is not described

rest_queried_resource_route filter-hook . WP 5.5.0

Filters the REST route for the currently queried object.

Usage

add_filter( 'rest_queried_resource_route', 'filter_function_name_3070' );
function filter_function_name_3070( $link ){
	// filter...

	return $link;
}
$link(string)
The route with a leading slash, or an empty string.

Список изменений

С версии 5.5.0 Введена.

Где вызывается хук

rest_get_queried_resource_route()
rest_queried_resource_route
wp-includes/rest-api.php 2259
return apply_filters( 'rest_queried_resource_route', $route );

Где используется хук в ядре WP

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