Created
May 12, 2017 19:16
-
-
Save thesaurabhk/2b220a948bc9d2ac6368c958335f7fb3 to your computer and use it in GitHub Desktop.
Remove Google Fonts form WordPress Theme https://technumero.com/remove-google-fonts-form-wordpress-theme/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* You don't need to add the opening php tag shown above. | |
//* Only copy and paste the below given code in functions.php file. | |
//* TN Dequeue Styles - Remove Google Fonts form Divi Theme | |
add_action( 'wp_print_styles', 'tn_dequeue_divi_fonts_style' ); | |
function tn_dequeue_divi_fonts_style() { | |
wp_dequeue_style( ‘divi-fonts' ); | |
wp_deregister_style( ‘divi-fonts' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment