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

Filters domains and URLs for resource hints of relation type.


Parameters 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'.


Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.