Same as wp_font_dir() but "light weight" as it doesn't attempt to create the font uploads directory.Intended for use in themes, when only 'basedir' and 'baseurl' are needed, generally in all cases when not uploading files.
Return
array
See wp_font_dir() for description.
Uses · 1
wp_font_dir()Returns an array containing the current fonts upload directory's path and URL.
Used by · 5
WP_Debug_Data::get_sizes()Fetches the sizes of the WordPress directories: `wordpress` (ABSPATH), `plugins`, `themes`, and `uploads`.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.0.4 tag, from src/wp-includes/fonts.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.