首页 WordPress函数大全 get_raw_theme_root()

get_raw_theme_root()

2020-05-01 / 2078阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

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

Get the raw theme root relative to the content directory with no filters applied.

描述

参数

$stylesheet_or_template

(string)
(Required)
The stylesheet or template name of the theme.

$skip_cache

(bool)
(Optional)
Whether to skip the cache. Defaults to false, meaning the cache is used.

Default value: false

返回

(string) Theme root.

大家谈论
    我的见解