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



template_directory_uri ›

Seit1.5.0
Veraltetn/v
apply_filters( 'template_directory_uri', $template_dir_uri, $template, $theme_root_uri )
Parameter: (3)
  • (string) $template_dir_uri The URI of the current theme directory.
    Erforderlich: Ja
  • (string) $template Directory name of the current theme.
    Erforderlich: Ja
  • (string) $theme_root_uri The themes root URI.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the current theme directory URI.





Quellcode

return apply_filters( 'template_directory_uri', $template_dir_uri, $template, $theme_root_uri );