WordPress函数:is_child_theme 是否正在使用子主题

江河/ 2023年09月20日/ WordPress/ 浏览 390

函数原型:


is_child_theme(): bool


是否正在使用子主题。


函数源码:


function is_child_theme() {
	return ( TEMPLATEPATH !== STYLESHEETPATH );
}


发表评论

暂无评论,抢个沙发...

客服 工单