apply_filters( 'wp_resource_hints', array $urls, string $relation_type )

Filters domains and URLs for resource hints of relation type.


Parameters

$urls

(array) URLs to print for resource hints.

$relation_type

(string) The relation type the URLs are printed for, e.g. 'preconnect' or 'prerender'.


Source

File: wp-includes/general-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.6.0 Introduced.