Gets the style element for wrapping the @font-face CSS.
private function get_style_element() {
$attributes = $this->generate_style_element_attributes();
return "<style class='wp-fonts-local'{$attributes}>\n%s\n</style>\n";
}
| Version | Description |
|---|---|
| 6.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_font_face/get_style_element