Filters the fonts directory data.
Description
This filter allows developers to modify the fonts directory data.
Parameters
$font_dirarray- Array of information about the font upload directory.
pathstringBase directory and subdirectory or full path to the fonts upload directory.urlstringBase URL and subdirectory or absolute URL to the fonts upload directory.subdirstringSubdirectorybasedirstringPath without subdir.baseurlstringURL path without subdir.errorstring|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.