Remove open sans font link from wordpress head -


how go removing open sans font link wordpress's header without using plugin?

i'm using twentyfifteen theme , using disable google fonts plugin i'm trying cut down on plugins.

add functions.php file of child theme.

function remove_open_sans() {    wp_dequeue_style( 'twentyfifteen-fonts' ); } add_action('wp_enqueue_scripts','remove_open_sans'); 

the google fonts being added this:

wp_enqueue_style( 'twentyfifteen-fonts', twentyfifteen_fonts_url(), array(), null ); 

so need dequeue styles added.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -