描述: 判断当前是否是一个正在使用的子主题 用法: <?php is_child_theme(); ?> 返回值: (bool) true 代表是一个正在使用的子主题, false代表不是. 源文件: function is_child_theme() { return ( TEMPLATEPATH !== STYLESHEETPATH ); }