New and updated in 6.5.0
-
Constructor.
-
Gets a font collection.
-
Utility method to retrieve the main instance of the class.
-
Unregisters a previously registered font collection.
-
Checks if a font collection is registered.
-
Gets all the font collections available.
-
Applies a sanitizer function to a value.
-
Returns the expected mime-type values for font files, depending on PHP version.
-
classWP_Font_Library
Font Library class.
-
Register a new font collection.
-
Adds surrounding quotes to font family names that contain special characters.
-
Sanitizes and formats font family names.
-
Generates a slug from font face properties, e.g. `open sans;normal;400;100%;U+0-10FFFF`
-
Sanitizes a tree of data using a schema.
-
classWP_Font_Utils
A class of utilities for working with the Font Library.
-
Retrieves the font collection sanitization schema.
-
Retrieves the font collection data.
-
Loads font collection data from a JSON file or URL.
-
Loads the font collection data from a JSON file path.
-
Loads the font collection data from a JSON file URL.
-
Sanitizes and validates the font collection data.
-
classWP_Font_Collection
Font Collection class.
-
WP_Font_Collection constructor.
-
Checks whether the current tag has and will visit its matching closer tag.
Used by 1 function | Uses 0 functions | Source: wp-includes/interactivity-api/class-wp-interactivity-api-directives-processor.php:272 -
methodWP_Interactivity_API_Directives_Processor::get_after_opener_tag_and_before_closer_tag_positions()
Gets the positions right after the opener tag and right before the closer tag in a balanced tag.
Used by 2 functions | Uses 1 function | Source: wp-includes/interactivity-api/class-wp-interactivity-api-directives-processor.php:133 -
Returns a pair of bookmarks for the current opener tag and the matching closer tag.
Used by 1 function | Uses 1 function | Source: wp-includes/interactivity-api/class-wp-interactivity-api-directives-processor.php:167 -
Skips processing the content between tags.
Used by 0 functions | Uses 1 function | Source: wp-includes/interactivity-api/class-wp-interactivity-api-directives-processor.php:198 -
Finds the matching closing tag for an opening tag.
Used by 1 function | Uses 1 function | Source: wp-includes/interactivity-api/class-wp-interactivity-api-directives-processor.php:234 -
Class used to iterate over the tags of an HTML string and help process the directive attributes.
Used by 0 functions | Uses 1 function | Source: wp-includes/interactivity-api/class-wp-interactivity-api-directives-processor.php:18 -
Returns the content between two balanced template tags.
Used by 0 functions | Uses 1 function | Source: wp-includes/interactivity-api/class-wp-interactivity-api-directives-processor.php:49