wp_font_dir


wp_font_dir ( $create_dir = true )

Parameters:
  • (bool) create_dir Optional. Whether to check and create the font uploads directory. Default true.
Returns:
  • (array) { 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. }
Defined at:

Description

Returns an array containing the current fonts upload directory's path and URL.

Related Functions

wp_get_font_dir, wp_footer, wp_upload_dir, _wp_upload_dir, wp_default_editor

Top Google Results

User discussions

wpseek mobile