Last active
September 24, 2022 15:54
-
-
Save imranhoshain/d64f3e0ac0216ef9ae87708ba64b1007 to your computer and use it in GitHub Desktop.
Custom Fonts `font-display` swap
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
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { | |
return 'swap'; | |
}, 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment