Disable and Remove Google Fonts - Version 1.4.7

Version Description

Download this release

Release Info

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

Code changes from version 1.4.6 to 1.4.7

Files changed (3) hide show
  1. changelog.txt +4 -0
  2. disable-remove-google-fonts.php +6 -1
  3. readme.txt +1 -0
changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 1.4.6 =
2
 
3
  * Add compatibility for WPBakery.
1
+ = 1.4.7 =
2
+
3
+ * Add compatibility for Kadence theme.
4
+
5
  = 1.4.6 =
6
 
7
  * Add compatibility for WPBakery.
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.4.6
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
11
  *
@@ -225,3 +225,8 @@ function dgrf_dequeue_wpbakery_fonts() {
225
  }
226
  }
227
  add_action( 'wp_footer', 'dgrf_dequeue_wpbakery_fonts' );
 
 
 
 
 
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.7
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
11
  *
225
  }
226
  }
227
  add_action( 'wp_footer', 'dgrf_dequeue_wpbakery_fonts' );
228
+
229
+ /**
230
+ * Dequeue Google Fonts loaded by Kadence theme.
231
+ */
232
+ add_filter( 'kadence_theme_google_fonts_array', '__return_empty_array' );
readme.txt CHANGED
@@ -32,6 +32,7 @@ This plugin will work with all WordPress themes and has been specifically tested
32
  * Hueman
33
  * Vantage
34
  * ColorMag
 
35
  * Shapely
36
  * OnePress
37
  * JupiterX
32
  * Hueman
33
  * Vantage
34
  * ColorMag
35
+ * Kadence
36
  * Shapely
37
  * OnePress
38
  * JupiterX