is_child_theme()
最后更新于:2021-11-27 08:30:04
is_child_theme()
Whether a child theme is in use.
响应
(bool) True if a child theme is in use, false otherwise.
源文件
文件: gc-includes/theme.php
function is_child_theme() {
return ( TEMPLATEPATH !== STYLESHEETPATH );
}