wp_get_font_dir() │ WP 6.5.0

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.

Хуков нет.

Возвращает

array. See wp_font_dir() for description.

Использование

wp_get_font_dir();

Заметки

Смотрите: wp_font_dir()

Список изменений

С версии 6.5.0 Введена.

Код wp_get_font_dir() WP 7.1.3

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