apply_filters( ‘theme_root_uri’, string $theme_root_uri, string $siteurl, string $stylesheet_or_template )

In this article

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

return apply_filters( 'theme_root_uri', $theme_root_uri, get_option( 'siteurl' ), $stylesheet_or_template );

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.