wp_resource_hints

Advertisement

Summery Summery

Filters domains and URLs for resource hints of relation type.

Syntax Syntax

apply_filters( 'wp_resource_hints', array $urls, string $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'.

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.