apply_filters( 'theme_root_uri', string $theme_root_uri , string $siteurl , string $stylesheet_or_template )
Filters the URI for themes directory.
Parameters
-
$theme_root_uri
string -
The URI for themes directory.
-
$siteurl
string -
WordPress web address which is set in General Options.
-
$stylesheet_or_template
string -
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 );
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |