get_theme_root


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.
Returns:
  • (string) Themes directory 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