static function ctc() { // create admin object if (!isset(self::$instance)) { include_once CHLD_THM_CFG_DIR . '/includes/class-ctc-admin.php'; self::$instance = new ChildThemeConfiguratorAdmin(__FILE__); } return self::$instance; }
static function ctc() { // create admin object global $chld_thm_cfg; /// backward compat if (!isset(self::$instance)) { include_once CHLD_THM_CFG_DIR . '/includes/class-ctc.php'; self::$instance = new ChildThemeConfiguratorAdmin(__FILE__); } $chld_thm_cfg = self::$instance; /// backward compat return self::$instance; }
function ctc() { return ChildThemeConfigurator::ctc(); }
function css() { return ChildThemeConfigurator::ctc()->css; }