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

Filters domains and URLs for resource hints of relation type.


Parameters

$urls

URLs to print for resource hints.

$relation_type

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.