Retrieves font uploads directory information.
Description
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.
See also
Source
function wp_get_font_dir() {
return wp_font_dir( false );
}
Changelog
Version | Description |
---|---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.