/** * Convenience method. Returns WooCommerce base currency. * * @return string * @since 1.0.6 */ public static function base_currency() { if (empty(self::$base_currency)) { self::$base_currency = get_option('woocommerce_currency'); } return self::$base_currency; }
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(); }