wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/fonts.php › WordPress File
Functions10
› Fonts functions.
Function | Short description |
---|---|
wp_font_dir | Returns an array containing the current fonts upload directory's path and URL. |
wp_get_font_dir | Retrieves font uploads directory information. |
wp_print_font_faces | Generates and prints font-face styles for given fonts or theme.json fonts. |
wp_print_font_faces_from_style_variations | Generates and prints font-face styles defined the the theme style variations. |
wp_register_font_collection | Registers a new font collection in the font library. |
wp_unregister_font_collection | Unregisters a font collection from the Font Library. |
_wp_after_delete_font_family | Deletes child font faces when a font family is deleted. |
_wp_before_delete_font_face | Deletes associated font files when a font face is deleted. |
_wp_filter_font_directory | A callback function for use in the {@see 'upload_dir'} filter. |
_wp_register_default_font_collections | Register the default font collections. |