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:

Description

Retrieve URI for themes directory.

Does not have trailing slash.

Related Functions

get_theme_root, get_theme_roots, get_theme_file_uri, get_raw_theme_root, wp_get_theme_error

Top Google Results

User discussions

wpseek mobile