A WordPress-centric search engine for devs and theme authors



theme_root_uri ›

Since1.5.0
Deprecatedn/a
apply_filters( 'theme_root_uri', $theme_root_uri, get_option( 'siteurl' )
Parameters: (3)
  • (string) $theme_root_uri The URI for themes directory.
    Required: Yes
  • (string) $siteurl WordPress web address which is set in General Options.
    Required: Yes
  • (string) $stylesheet_or_template Stylesheet or template name of the theme.
    Required: Yes
Defined at:
Codex:

Filters the URI for themes directory.





Source

return apply_filters( 'theme_root_uri', $theme_root_uri, get_option( 'siteurl' ), $stylesheet_or_template );