Disable and Remove Google Fonts - Version 1.3.2

Version Description

  • Remove fonts added by the Divi Extra theme.
Download this release

Release Info

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

Code changes from version 1.3.01 to 1.3.2

Files changed (2) hide show
  1. disable-remove-google-fonts.php +11 -4
  2. readme.txt +8 -2
disable-remove-google-fonts.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Optimize frontend performance by disabling Google Fonts.
6
  * Author: Fonts Plugin
7
  * Author URI: https://fontsplugin.com
8
- * Version: 1.3.0
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
11
  *
@@ -43,6 +43,10 @@ function drgf_dequeueu_fonts() {
43
  }
44
  }
45
  }
 
 
 
 
46
  // Dequeue Google Fonts loaded by Revolution Slider.
47
  remove_action( 'wp_footer', array( 'RevSliderFront', 'load_google_fonts' ) );
48
 
@@ -89,16 +93,19 @@ add_filter( 'hustle_load_google_fonts', '__return_false' );
89
  */
90
  add_filter( 'mailpoet_display_custom_fonts', '__return_false' );
91
 
92
- /**
93
- * Dequeue Google Fonts loaded by the Apollo13 Themes Framework.
94
- */
95
  if ( ! function_exists( 'apollo13framework_get_web_fonts_dynamic' ) ) {
 
 
 
96
  function apollo13framework_get_web_fonts_dynamic() {
97
  return;
98
  }
99
  }
100
 
101
  if ( ! function_exists( 'apollo13framework_get_web_fonts_static' ) ) {
 
 
 
102
  function apollo13framework_get_web_fonts_static() {
103
  return;
104
  }
5
  * Description: Optimize frontend performance by disabling Google Fonts.
6
  * Author: Fonts Plugin
7
  * Author URI: https://fontsplugin.com
8
+ * Version: 1.3.2
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
11
  *
43
  }
44
  }
45
  }
46
+
47
+ // Remove fonts added by the Divi Extra theme
48
+ remove_action( 'wp_footer', 'et_builder_print_font' );
49
+
50
  // Dequeue Google Fonts loaded by Revolution Slider.
51
  remove_action( 'wp_footer', array( 'RevSliderFront', 'load_google_fonts' ) );
52
 
93
  */
94
  add_filter( 'mailpoet_display_custom_fonts', '__return_false' );
95
 
 
 
 
96
  if ( ! function_exists( 'apollo13framework_get_web_fonts_dynamic' ) ) {
97
+ /**
98
+ * Dequeue Google Fonts loaded by the Apollo13 Themes Framework.
99
+ */
100
  function apollo13framework_get_web_fonts_dynamic() {
101
  return;
102
  }
103
  }
104
 
105
  if ( ! function_exists( 'apollo13framework_get_web_fonts_static' ) ) {
106
+ /**
107
+ * Dequeue Google Fonts loaded by the Apollo13 Themes Framework.
108
+ */
109
  function apollo13framework_get_web_fonts_static() {
110
  return;
111
  }
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Disable and Remove Google Fonts ===
2
  Contributors: DannyCooper, googlefonts
3
- Tags: google, gdpr, dsgvo, google fonts, disable google fonts
4
  Requires at least: 4.8
5
- Tested up to: 5.6
6
  License: GPLv2 or later
7
  Stable tag: trunk
8
 
@@ -32,9 +32,11 @@ This plugin will work with all WordPress themes and has been specifically tested
32
  * Shapely
33
  * OnePress
34
  * JupiterX
 
35
 
36
  It will also remove Google Fonts loaded by the following plugins:
37
 
 
38
  * MailPoet
39
  * Elementor
40
  * Beaver Builder
@@ -65,6 +67,10 @@ We are 99.99% certain it will, if it doesn't then please create a [support ticke
65
 
66
  == Changelog ==
67
 
 
 
 
 
68
  = 1.3.0 =
69
 
70
  * Remove fonts added by the Mailpoet plugin.
1
  === Disable and Remove Google Fonts ===
2
  Contributors: DannyCooper, googlefonts
3
+ Tags: google, gdpr, dsgvo, google fonts, disable google fonts, optimize, optimization, speed
4
  Requires at least: 4.8
5
+ Tested up to: 5.8
6
  License: GPLv2 or later
7
  Stable tag: trunk
8
 
32
  * Shapely
33
  * OnePress
34
  * JupiterX
35
+ * Divi Extra
36
 
37
  It will also remove Google Fonts loaded by the following plugins:
38
 
39
+ * Divi
40
  * MailPoet
41
  * Elementor
42
  * Beaver Builder
67
 
68
  == Changelog ==
69
 
70
+ = 1.3.2 =
71
+
72
+ * Remove fonts added by the Divi Extra theme.
73
+
74
  = 1.3.0 =
75
 
76
  * Remove fonts added by the Mailpoet plugin.