Last active
January 4, 2022 04:19
-
-
Save deckerweb/528e9f64f09b15ed4d6729b77d87dc78 to your computer and use it in GitHub Desktop.
Astra Theme - disable Google Fonts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Do NOT include the opening php tag */ | |
/** | |
* Do not load a list of Google Fonts in Astra | |
* | |
* @link https://gist.github.com/deckerweb/528e9f64f09b15ed4d6729b77d87dc78 | |
* @author David Decker - DECKERWEB | |
*/ | |
add_filter( 'astra_google_fonts_selected', '__return_empty_array' ); |
Hallo zusammen!
Vermutlich nicht mehr aktuell für Dich @stkjj, aber vielleicht für andere: Der Filter heißt nun anders, hiermit funktioniert es zumindest heute 🙂 :
add_filter( 'astra_google_fonts_selected', '__return_empty_array' );
please update these codes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Danke!
Das war letztes Jahr - ich muss da nochmal schauen, evtl. haben die was unter der Haube geändert.