• Resolved Victor_K

    (@yylzcom)


    I add these cods to functions.php, but none worked.

    // Remove google fonts
             function remove_gfonts_action() {
              remove_action('wp_enqueue_scripts','tc_enqueue_gfonts');
             }
             add_action('init','remove_gfonts_action');
    // Remove google fonts
             function remove_gfonts_action() {
              remove_action('wp_enqueue_scripts',array( $this , 'tc_enqueue_gfonts' ),0);
             }
             add_action('init','remove_gfonts_action');

    Any idea how to do it? Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘replacing google fonts’ is closed to new replies.