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

URLs to print for resource hints.

$relation_type

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