Created
June 7, 2018 15:51
-
-
Save generatepress/2d037a5a7341ffc67c6af1a056b54e34 to your computer and use it in GitHub Desktop.
Remove Google Fonts from the Customizer
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
add_action( 'admin_init', 'tu_remove_google_fonts' ); | |
function tu_remove_google_fonts() { | |
add_filter( 'generate_google_fonts_array', '__return_false' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment