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

namespace WCML\HomeScreen;

use WCML\StandAlone\IStandAloneAction;

class Factory implements \IWPML_Backend_Action_Loader, IStandAloneAction {

	/**
	 * @return \IWPML_Action|null
	 */
	public function create() {
		if ( wcml_is_multi_currency_on() ) {
			return new Hooks();
		}

		return null;
	}

}