过滤主题目录的URI。
原型
apply_filters( 'theme_root_uri', string $theme_root_uri, string $siteurl, string $stylesheet_or_template )
参数
$theme_root_uri
(string)
主题目录的URI。
$siteurl
(string)
在常规选项中设置的WordPress Web地址。
$stylesheet_or_template
(string)
主题的样式表或模板名称。
源文件
路径:wp-includes/theme.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/theme_root_uri/