Skip to content

Instantly share code, notes, and snippets.

@cristiancorreau
Forked from mkrdip/remove-gf-divi.php
Created June 6, 2017 23:03
Show Gist options
  • Save cristiancorreau/b59695e4f94d702b703b4afd7903858b to your computer and use it in GitHub Desktop.
Save cristiancorreau/b59695e4f94d702b703b4afd7903858b to your computer and use it in GitHub Desktop.
Remove Google Fonts from Divi
<?php
function wpse_dequeue_google_fonts() {
wp_dequeue_style( 'divi-fonts' );
}
add_action( 'wp_enqueue_scripts', 'wpse_dequeue_google_fonts', 20 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment