/** * Returns the singleton instance of the class. * * @since 2.4.0 * * @return object The TGM_Plugin_Activation object. */ public static function get_instance() { if (!isset(self::$instance) && !self::$instance instanceof self) { self::$instance = new self(); } return self::$instance; }
/** * Returns the singleton instance of the class. * * @since 2.4.0 * * @return object The TGM_Plugin_Activation object. */ public static function get_instance() { if (!isset(self::$instance) && !self::$instance instanceof TGM_Plugin_Activation) { self::$instance = new TGM_Plugin_Activation(); } return self::$instance; }