Core Function
View Source on Trac ↗ get_raw_theme_root()
get_raw_theme_root( mixed $stylesheet_or_template, mixed $skip_cache = false ) Gets the raw theme root relative to the content directory with no filters applied.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $stylesheet_or_template string | The stylesheet or template name of the theme. Required |
| bool | $skip_cache Optional. Whether to skip the cache. Defaults to false, meaning the cache is used. Required |
Return Value
(string)
Theme root.
Function Information
Since Version
3.1.0
Source File
wp-includes/theme.php
Advertisement