/**
  * Returns single instance of the class
  *
  * @since 1.0.0
  */
 public static function get_instance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
function yith_ywgc_init()
{
    /**
     * Load text domain and start plugin
     */
    load_plugin_textdomain('yith-woocommerce-gift-cards', false, dirname(plugin_basename(__FILE__)) . '/languages/');
    YWGC_Plugin_FW_Loader::get_instance();
    global $YWGC, $GIFTS;
    $GIFTS = YWGC_Gift_Cards::get_instance();
    $YWGC = YITH_WooCommerce_Gift_Cards::get_instance();
}