WP_Font_Face::get_style_element(): string

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Gets the style element for wrapping the @font-face CSS.

Return

string The style element.

Source

private function get_style_element() {
	$attributes = $this->generate_style_element_attributes();

	return "<style class='wp-fonts-local'{$attributes}>\n%s\n</style>\n";
}

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.