File: wp-includes/fonts/class-wp-font-face-resolver.php
-
Converts each ‘file:./’ placeholder into a URI to the font file in the theme.
Used by 0 functions | Uses 1 function | Source: wp-includes/fonts/class-wp-font-face-resolver.php:138 -
Converts all first dimension keys into kebab-case.
Used by 0 functions | Uses 1 function | Source: wp-includes/fonts/class-wp-font-face-resolver.php:162 -
The Font Face Resolver abstracts the processing of different data sources (such as theme.json) for processing within the Font Face.
Used by 0 functions | Uses 0 functions | Source: wp-includes/fonts/class-wp-font-face-resolver.php:19 -
Gets fonts defined in theme.json.
-
Parse theme.json settings to extract font definitions with variations grouped by font-family.
Used by 0 functions | Uses 0 functions | Source: wp-includes/fonts/class-wp-font-face-resolver.php:47 -
Parse font-family name from comma-separated lists.
Used by 0 functions | Uses 0 functions | Source: wp-includes/fonts/class-wp-font-face-resolver.php:88 -
Converts font-face properties from theme.json format.
Used by 0 functions | Uses 0 functions | Source: wp-includes/fonts/class-wp-font-face-resolver.php:105