wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



template_directory › Filtr WordPress Hooks

Od1.5.0
Przestarzałyn/a
› apply_filters( 'template_directory', $template_dir, $template, $theme_root )
Parametry: (3)
  • () template_dir The path of the active theme directory.
    Wymagane: Tak
  • () template Directory name of the active theme.
    Wymagane: Tak
  • () theme_root Absolute path to the themes directory.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the active theme directory path.





Źródło

return apply_filters( 'template_directory', $template_dir, $template, $theme_root );