function add_rel_preload($html, $handle, $href, $media) { if (is_admin()) return $html; $html = << EOT; return $html; } add_filter( 'style_loader_tag', 'add_rel_preload', 10, 4 );