wpseek.com
A WordPress-centric search engine for devs and theme authors



get_theme_root › WordPress Function

Since1.5.0
Deprecatedn/a
get_theme_root ( $stylesheet_or_template = '' )
Parameters:
  • (string) $stylesheet_or_template Optional. The stylesheet or template name of the theme. Default is to leverage the main theme root.
    Required: No
    Default: (empty)
Returns:
  • (string) Themes directory path.
Defined at:
Codex:

Retrieves path to themes directory.

Does not have trailing slash.


Source

Soon...