get_allowed_themes()
get_allowed_themes()
获取当前网站允许的主题。
Get the allowed themes for the current site.
说明(Description)
另见函数 wp_get_themes()
返回(Return)
(WP_-Theme[])按名称键入的WP_-Theme对象数组。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.4.0 | wp-admin/includes/deprecated.php:1007 | 0 | 2 |
get_allowed_themes() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_allowed_themes/