W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
1.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/theme_root_uri