WordPress как на ладони
wordpress jino
фильтр не описан

wp_resource_hints хук-фильтр . WP 4.6.0

Filters domains and URLs for resource hints of relation type.

Использование

add_filter( 'wp_resource_hints', 'filter_function_name_8695', 10, 2 );
function filter_function_name_8695( $urls, $relation_type ){
	// filter...

	return $urls;
}
$urls(array)
URLs to print for resource hints.
$relation_type(string)
The relation type the URLs are printed for, e.g. 'preconnect' or 'prerender'.

Связи хука

Используется в: wp_resource_hints()

Остальные хуки из: wp_resource_hints():

Кусок кода с хуком

Фрагмент из: wp-includes/general-template.php WP 4.9
...
	 */
	/** This filter is documented in wp-includes/formatting.php */
	$hints['dns-prefetch'][] = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.3/svg/' );

	foreach ( $hints as $relation_type => $urls ) {
		$unique_urls = array();

		/**
		 * Filters domains and URLs for resource hints of relation type.
		 *
		 * @since 4.6.0
		 *
		 * @param array  $urls          URLs to print for resource hints.
		 * @param string $relation_type The relation type the URLs are printed for, e.g. 'preconnect' or 'prerender'.
		 */
		$urls = apply_filters( 'wp_resource_hints', $urls, $relation_type );

		foreach ( $urls as $key => $url ) {
			$atts = array();

			if ( is_array( $url ) ) {
				if ( isset( $url['href'] ) ) {
					$atts = $url;
					$url  = $url['href'];
				} else {
					continue;
				}
			}

			$url = esc_url( $url, array( 'http', 'https' ) );

...