get_theme_root


get_theme_root ( $stylesheet_or_template = false )

Parameters:
  • (string) $stylesheet_or_template The stylesheet or template name of the theme
Returns:
  • (string) Theme path.
Defined at:

Description

Retrieve path to themes directory.

Does not have trailing slash.

Related Functions

get_theme_roots, get_raw_theme_root, get_theme_root_uri, get_theme_mod, get_theme_mods

Top Google Results

User discussions

wpseek mobile