Warning: Trying to access array offset on false in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 216
get_raw_theme_root() - 获取未应用过滤器的相对于内容目录的原始主题根目录 - WordPress函数 - WordPress动力
当前浏览:首页 / WordPress函数 / get_raw_theme_root()

get_raw_theme_root( string $stylesheet_or_template, bool $skip_cache = false ): string

获取未应用过滤器的相对于内容目录的原始主题根目录


Warning: Undefined array key -1 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 185

Warning: Undefined array key 4 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 186

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "d2713afcb95042289f4c84b70dea616a" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "3a41fd57de8104db46dad2693d7f2deb" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

root

theme 主题more...


参数

$stylesheet_or_templatestring必填
主题的样式表或模板名称。
$skip_cachebool可选
是否跳过缓存。
默认为false,这意味着使用了缓存。

默认:false


返回

string 主题根目录。



源码

查看源码 官方文档


更新日志

版本描述
3.1.0开始引入

Warning: Undefined variable $o in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference.php on line 194