get_theme_root_uri


get_theme_root_uri ( $stylesheet_or_template = false, $theme_root = false )

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

Description

Retrieve URI for themes directory.

Does not have trailing slash.

Related Functions

get_theme_root, get_theme_roots, get_raw_theme_root, get_theme_file_uri, get_stylesheet_uri

Top Google Results

User discussions

wpseek mobile