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

Filters domains and URLs for resource hints of relation type.

Description Description

Parameters Parameters


(array) URLs to print for resource hints.


(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

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.