Filters domains and URLs for resource hints of the given relation type.
$urlsarray
...$0 array|stringhref stringas stringscript, style, image, document, etc).crossorigin stringpr floattype stringtext/html, text/css, etc).$relation_typestring
'dns-prefetch', 'preconnect', 'prefetch', or 'prerender'.$urls = apply_filters( 'wp_resource_hints', $urls, $relation_type );
You must log in before being able to contribute a note or feedback.
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_resource_hints