Created
May 10, 2018 03:26
-
-
Save stewil87/d6f7ce02b05e25b8c3aeb2cd3d244781 to your computer and use it in GitHub Desktop.
Remove Google Fonts from Newspaper 6.3+ Wordpress Theme by using Child
This file contains hidden or 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 | |
#... | |
function remove_actions_parent_theme() { | |
$priority = has_action('wp_enqueue_scripts', 'td_load_css_fonts'); | |
remove_action( 'wp_enqueue_scripts', 'td_load_css_fonts',$priority ); | |
}; | |
add_action( 'init', 'remove_actions_parent_theme'); | |
#... | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment