wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_font_dir › WordPress Function

Since6.5.0
Deprecatedn/a
wp_get_font_dir ( No parameters )
See:
Returns:
  • (array) See wp_font_dir() for description.
Defined at:
Codex:

Retrieves font uploads directory information.

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.


Source

function wp_get_font_dir() {
	return wp_font_dir( false );
}