WordPress at a glance
filter is not described

wp_resource_hints filter-hook . WP 4.6.0

Filters domains and URLs for resource hints of relation type.


add_filter( 'wp_resource_hints', 'filter_function_name_3460', 10, 2 );
function filter_function_name_3460( $urls, $relation_type ){
	// filter...

	return $urls;
URLs to print for resource hints.
The relation type the URLs are printed for, e.g. 'preconnect' or 'prerender'.

Where the hook is called

wp-includes/general-template.php 3071
$urls = apply_filters( 'wp_resource_hints', $urls, $relation_type );

Where the hook is used (in WP core)

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