Home / Admin / Ensure Webfont is Loaded (non-Elementor)
Duplicate Snippet

Embed Snippet on Your Site

Ensure Webfont is Loaded (non-Elementor)

Code Preview
php
<?php
function custom_font_display( $current_value, $font_family, $data ) {
	return 'swap';
}
add_filter( 'font_display', 'custom_font_display', 10, 3 );

Comments

Add a Comment