Disable Google Fonts external integration
-
Hi,
as the laws in the European Union regarding data privacy get stricter, I need to remove the Google Fonts external integration:
<link rel=’stylesheet’ id=’mins-fonts-css’ href=’https://fonts.googleapis.com/css?family=Asap%3A300%2C400%2C700&subset=latin&ver=1.8.9′ type=’text/css’ media=’all’ />
I have to store the font locally. I am using the child theme Mins. Can I somehow dequeue the script in the child-theme?:
wp_enqueue_script( ‘primer-customizer-fonts’, get_template_directory_uri() . “/assets/js/admin/customizer-fonts{$suffix}.js”, array( ‘jquery’ ), PRIMER_VERSION, true );
Help is appreciated.
Thanks
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Disable Google Fonts external integration’ is closed to new replies.