Core Function
View Source on Trac ↗ wp_font_dir()
wp_font_dir( mixed $create_dir = true ) Returns an array containing the current fonts upload directory's path and URL.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $create_dir bool | Optional. Whether to check and create the font uploads directory. Default true. |
Return Value
(array)
array {
Array of information about the font upload directory.
Function Information
Since Version
6.5.0
Source File
wp-includes/fonts.php
Advertisement