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_stylesheet() - 检索当前样式表的名称 - WordPress函数 - WordPress动力
当前浏览:首页 / WordPress函数 / get_stylesheet()

get_stylesheet(): 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 2 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 "3239c45afed7bef4747a209933765d05" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

stylesheet


描述

当前设置为前端主题的主题名称。

出于所有意图和目的,模板名称和样式表名称在大多数情况下都是相同的。


返回

string 样式表名称。


钩子



源码

查看源码 官方文档


更新日志

版本描述
1.5.0开始引入

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