wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



font_dir › Hooks de Filtros WordPress

Desde6.5.0
Obsoleton/a
apply_filters( 'font_dir', $font_dir )
Parâmetros:
  • (array) $font_dir { 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. }
    Required: Yes
Definido em:
Codex:

Filters the fonts directory data.

This filter allows developers to modify the fonts directory data.





Fonte

return apply_filters( 'font_dir', $font_dir );