public static function get_instance() { if (null === self::$instance) { self::$instance = new self(); } return self::$instance; }
/** * Returns the Kirki object */ function Kirki() { // Make sure the class is instanciated $kirki = Kirki_Toolkit::get_instance(); // The path of the current Kirki instance Kirki::$path = dirname(__FILE__); return $kirki; }