Hallo,
in der Hoffnung mein WP nun DSGVO-konform zu halten habe ich die Google Fonts entfernt.
Hartnäckig hält sich aber
Wie bekomme ich das entfernt?
Der u.s Code für die functions.php hat nicht funktioniert.
Code
/**
* Removes the preconnect to fonts.gstatic.com
*/
add_filter(‘autoptimize_html_after_minify’, function($content) {
$content = str_replace(“<link href=’https://fonts.gstatic.com’ crossorigin rel=’preconnect’ />”, ‘ ‘, $content);
return $content;
}, 10, 1);
Alles anzeigen
Danke voraus.