Created
December 3, 2022 20:30
-
-
Save pascalbajorat/bed870a1129fd03e6005e2176f9fbb6a to your computer and use it in GitHub Desktop.
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
function custom_bm_gfonts_get_font_url( $font_url ) { | |
$font_url = str_replace('https://www.domain.com'); // Strip Domain from full URL to get a relative Path. | |
return $font_url; | |
} | |
add_filter('bm_gfonts_get_font_url', 'custom_bm_gfonts_get_font_url'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment