Disable and Remove Google Fonts - Version 1.4.0

Version Description

Download this release

Release Info

Developer DannyCooper
Plugin Icon wp plugin Disable and Remove Google Fonts
Version 1.4.0
Comparing to
See all releases

Code changes from version 1.3.9 to 1.4.0

Files changed (2) hide show
  1. changelog.txt +4 -0
  2. disable-remove-google-fonts.php +4 -1
changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 1.3.9 =
2
 
3
  * Add compatibility for Enfold.
1
+ = 1.4.0 =
2
+
3
+ * Add compatibility for Appointment.
4
+
5
  = 1.3.9 =
6
 
7
  * Add compatibility for Enfold.
disable-remove-google-fonts.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Optimize frontend performance by disabling Google Fonts. GDPR-friendly.
6
  * Author: Fonts Plugin
7
  * Author URI: https://fontsplugin.com
8
- * Version: 1.3.9
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
11
  *
@@ -71,6 +71,9 @@ function drgf_dequeueu_fonts() {
71
  }
72
  }
73
  remove_action( 'wp_head', 'hu_print_gfont_head_link', 2 );
 
 
 
74
  }
75
  add_action( 'wp_enqueue_scripts', 'drgf_dequeueu_fonts', 9999 );
76
  add_action( 'wp_print_styles', 'drgf_dequeueu_fonts', 9999 );
5
  * Description: Optimize frontend performance by disabling Google Fonts. GDPR-friendly.
6
  * Author: Fonts Plugin
7
  * Author URI: https://fontsplugin.com
8
+ * Version: 1.4.0
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
11
  *
71
  }
72
  }
73
  remove_action( 'wp_head', 'hu_print_gfont_head_link', 2 );
74
+
75
+ remove_action('wp_head', 'appointment_load_google_font');
76
+
77
  }
78
  add_action( 'wp_enqueue_scripts', 'drgf_dequeueu_fonts', 9999 );
79
  add_action( 'wp_print_styles', 'drgf_dequeueu_fonts', 9999 );