get_theme_root_uri
get_theme_root_uri ( $stylesheet_or_template = '', $theme_root = '' )
Parameters:- (string) stylesheet_or_template Optional. The stylesheet or template name of the theme. Default is to leverage the main theme root.
- (string) theme_root Optional. The theme root for which calculations will be based, preventing the need for a get_raw_theme_root() call. Default empty.
Returns:- (string) Themes directory URI.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Retrieves URI for themes directory.Does not have trailing slash.