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: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Retrieves path to themes directory.Does not have trailing slash.