Disable and Remove Google Fonts - Version 1.3.7

Version Description

Download this release

Release Info

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

Code changes from version 1.3.6 to 1.3.7

Files changed (2) hide show
  1. changelog.txt +4 -0
  2. disable-remove-google-fonts.php +10 -1
changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 1.3.6 =
2
 
3
  * Add compatibility for Hueman.
1
+ = 1.3.7 =
2
+
3
+ * Add compatibility for Hemingway.
4
+
5
  = 1.3.6 =
6
 
7
  * Add compatibility for Hueman.
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.6
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
11
  *
@@ -128,3 +128,12 @@ if ( ! function_exists( 'apollo13framework_get_web_fonts_static' ) ) {
128
  return;
129
  }
130
  }
 
 
 
 
 
 
 
 
 
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.7
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
11
  *
128
  return;
129
  }
130
  }
131
+
132
+ if ( ! function_exists( 'hemingway_get_google_fonts_url' ) ) {
133
+ /**
134
+ * Dequeue Google Fonts loaded by the Hemingway theme.
135
+ */
136
+ function hemingway_get_google_fonts_url() {
137
+ return false;
138
+ }
139
+ }