This filter allows developers to modify the fonts directory data.
Parameters
$font_dirarray
{ Array of information about the font upload directory. @type string $path Base directory and subdirectory or full path to the fonts upload directory. @type string $url Base URL and subdirectory or absolute URL to the fonts upload directory. @type string $subdir Subdirectory @type string $basedir Path without subdir. @type string $baseurl URL path without subdir. @type string|false $error False or error message.}
$pathstring
Base directory and subdirectory or full path to the fonts upload directory.
$urlstring
Base URL and subdirectory or absolute URL to the fonts upload directory.
$subdirstring
Subdirectory @type string $basedir Path without subdir.
199* @type string$subdir Subdirectory200* @type string$basedir Path without subdir.201* @type string$baseurlURL path without subdir.202* @type string|false$errorFalseor error message.203*}204*/205returnapply_filters('font_dir',$font_dir);206}207208/**209* Deletes child font faces when a font family is deleted.210*211* @access private
History
Introduced in 6.5.0. Unchanged from 6.7.7 through 7.1.0.