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