Last active
June 18, 2022 10:37
-
-
Save Codevz/d5cf0db16061e2f964a2203269251f25 to your computer and use it in GitHub Desktop.
XTRA WP Theme - Disable google fonts, https://xtratheme.com/
This file contains 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 | |
/** | |
* With this filter you can completely disable google fonts. | |
* | |
* @return boolean | |
*/ | |
add_filter( 'codevz/disable/google_fonts', '__return_true' ); | |
// | |
// OR | |
// | |
/** | |
* With this filter you can completely disable google fonts. | |
* | |
* @return boolean | |
*/ | |
function codevz_disable_google_fonts( $value ) { | |
return true; | |
} | |
add_filter( 'codevz/disable/google_fonts', 'codevz_disable_google_fonts' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to see more actions and hooks of XTRA WP theme, Please check out documentation here https://xtratheme.com/docs/developer/