wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



template_directory › WordPress Filter Hooks

Seit1.5.0
Veraltetn/v
apply_filters( 'template_directory', $template_dir, $template, $theme_root )
Parameter: (3)
  • () template_dir The path of the active theme directory.
    Erforderlich: Ja
  • () template Directory name of the active theme.
    Erforderlich: Ja
  • () theme_root Absolute path to the themes directory.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the active theme directory path.





Quellcode

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