New and updated in 6.4.0
-
functionwp_set_option_autoload()
Sets the autoload value for an option in the database.
-
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 -
Orders `src` items to optimize for browser support.
-
Builds the font-family’s CSS.
-
Compiles the `src` into valid CSS.
-
Compiles the font variation settings.
-
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 -
methodWP_Font_Face::get_css()
Gets the `@font-face` CSS styles for locally-hosted font files.
-
classWP_Font_Face
Font Face generates and prints `@font-face` styles for given fonts.
-
Creates and initializes an instance of WP_Font_Face.
-
Generates and prints the `@font-face` styles for the given fonts.
-
Validates each of the font-face properties.
-
Validates each font-face declaration (property and value pairing).
-
Gets the style element for wrapping the `@font-face` CSS.
-
Gets the defined element’s attributes.
-
Removes leading and trailing _empty_ script tags.
-
Removes the `theme` attribute from a given template part block.
-
Injects the active theme’s stylesheet as a `theme` attribute into a given template part block.
-
Style value parser that constructs a CSS definition array comprising a single CSS property and value.
Used by 0 functions | Uses 0 functions | Source: wp-includes/style-engine/class-wp-style-engine.php:648 -
Enqueues the skip-link script & styles.
-
Short-circuits the process of detecting errors related to HTTPS support.
-
functionwp_get_https_detection_errors()
Runs a remote HTTPS request to detect whether HTTPS supported, and stores potential errors.
-
Gets the REST API autosave controller for this post type.
-
Gets the REST API revisions controller for this post type.
-
Retrieves the autosave’s schema, conforming to JSON Schema.
Used by 0 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php:267 -
Prepares links for the request.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php:247