A WordPress-centric search engine for devs and theme authors



template_directory_uri ›

Since1.5.0
Deprecatedn/a
apply_filters( 'template_directory_uri', $template_dir_uri, $template, $theme_root_uri )
Parameters: (3)
  • (string) $template_dir_uri The URI of the current theme directory.
    Required: Yes
  • (string) $template Directory name of the current theme.
    Required: Yes
  • (string) $theme_root_uri The themes root URI.
    Required: Yes
Defined at:
Codex:

Filters the current theme directory URI.





Source

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