wp_preload_resources

wp_preload_resources

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.1

apply_filters('wp_preload_resources') is found 1 times:

  • /wp-includes/general-template.php line 3606
    	 *         @type string $imagesrcset Responsive image sources to the source set.
    	 *     }
    	 * }
    	 */
    	$preload_resources = apply_filters( 'wp_preload_resources', array() );
    
    	if ( ! is_array( $preload_resources ) ) {
    		return;
    	}
    
    	$unique_resources = array();