wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_print_font_faces_from_style_variations › WordPress Function

Since6.7.0
Deprecatedn/a
wp_print_font_faces_from_style_variations ( No parameters )
Defined at:
Codex:

Generates and prints font-face styles defined the the theme style variations.



Source

function wp_print_font_faces_from_style_variations() {
	$fonts = WP_Font_Face_Resolver::get_fonts_from_style_variations();

	if ( empty( $fonts ) ) {
		return;
	}

	wp_print_font_faces( $fonts );
}