WP_Font_Face::get_style_element()privateWP 6.4.0

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

Метод класса: WP_Font_Face{}

Хуков нет.

Возвращает

Строку. The style element.

Использование

// private - только в коде основоного (родительского) класса
$result = $this->get_style_element();

Список изменений

С версии 6.4.0 Введена.

Код WP_Font_Face::get_style_element() WP 6.7.1

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

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