Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_theme_root_uri()

3 tags 1 category

get_theme_root_uri() — Retrieves URI for themes directory. Does not have trailing slash.

Inputs: $stylesheet_or_template (string): Optional. The stylesheet or template name of the theme. Default is to leverage the main theme root. $theme_root (string): 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.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…