wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



template_directory › WordPress Filter Hooks

Da1.5.0
Deprecaton/a
› apply_filters( 'template_directory', $template_dir, $template, $theme_root )
Parametri: (3)
  • () template_dir The path of the active theme directory.
    Richiesto: Sì
  • () template Directory name of the active theme.
    Richiesto: Sì
  • () theme_root Absolute path to the themes directory.
    Richiesto: Sì
Definito a:
Codex:

Filters the active theme directory path.





Sorgenti

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