Hi,
I need this becasue of the following reasons:
1- Page speed
2- Most importantly the GDPR (General Data Protection Regulation)
I’ve tried to add the following code in child-theme functions.php that I’ve found in another topic from years ago on your website but it didn’t work:
function custom_remove_styles() {
global $wp_styles;
wp_dequeue_style('font-roboto');
wp_dequeue_style('font-open-sans');
}
add_action( 'wp_enqueue_scripts', 'custom_remove_styles' ,131);
My question is:
1) How can I remove/dequeue fonts.googleapis.com with functions.php?
2) Do I need to make changes in css (or other places) when using custom fonts?
Thanks in advance.