Filters the fonts directory data.
Description
This filter allows developers to modify the fonts directory data.
Parameters
$font_dir
array- Array of information about the font upload directory.
path
stringBase directory and subdirectory or full path to the fonts upload directory.url
stringBase URL and subdirectory or absolute URL to the fonts upload directory.subdir
stringSubdirectorybasedir
stringPath without subdir.baseurl
stringURL path without subdir.error
string|falseFalse or error message.
Source
return apply_filters( 'font_dir', $font_dir );
Changelog
Version | Description |
---|---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.