On this page
apply_filters( 'theme_root_uri', string $theme_root_uri, string $siteurl, string $stylesheet_or_template )
Filters the URI for themes directory.
Parameters
$theme_root_uristring-
The URI for themes directory.
$siteurlstring-
WordPress web address which is set in General Options.
$stylesheet_or_templatestring-
The stylesheet or template name of the theme.
Source
File: wp-includes/theme.php. View all references
return apply_filters( 'theme_root_uri', $theme_root_uri, get_option( 'siteurl' ), $stylesheet_or_template );
Related
Used By
| Used By | Description |
|---|---|
| get_theme_root_uri() wp-includes/theme.php | Retrieves URI for themes directory. |
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/theme_root_uri