• File: ResolverForDefault.php
  • Full Path: /home/lef/public_html/wp-content/plugins/woocommerce-multilingual/classes/Multicurrency/Resolver/ResolverForDefault.php
  • File size: 417 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace WCML\MultiCurrency\Resolver;

class ResolverForDefault implements Resolver {

	/**
	 * We consider that we should always be able to resolve a currency
	 * for any customer.
	 *
	 * If no currency could be found in the previous steps, we'll
	 * fall back to the default WC currency.
	 *
	 * @inheritDoc
	 */
	public function getClientCurrency() {
		return wcml_get_woocommerce_currency_option();
	}
}