how to remove an action via functions.php in a child theme?
-
I am using a theme which loads a Google Font via functions.php. in the child theme I want to disable this. how can I do this?
this is the Google Font code in functions.php :
function load_fonts() { wp_register_style('googleFonts', 'https://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Oswald'); wp_enqueue_style( 'googleFonts'); } add_action('wp_print_styles', 'load_fonts');
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘how to remove an action via functions.php in a child theme?’ is closed to new replies.