File: wp-includes/fonts.php
-
hookfont_dir
Filters the fonts directory data.
-
function_wp_after_delete_font_family()
Deletes child font faces when a font family is deleted.
-
function_wp_before_delete_font_face()
Deletes associated font files when a font face is deleted.
-
Register the default font collections.
-
functionwp_unregister_font_collection()
Unregisters a font collection from the Font Library.
-
functionwp_get_font_dir()
Retrieves font uploads directory information.
-
functionwp_font_dir()
Returns an array containing the current fonts upload directory’s path and URL.
-
function_wp_filter_font_directory()
A callback function for use in the {@see ‘upload_dir’} filter.
-
functionwp_register_font_collection()
Registers a new font collection in the font library.
-
functionwp_print_font_faces()
Generates and prints font-face styles for given fonts or theme.json fonts.