<?php
/**
 * Compatibility class for WooCommerce 4.0.0
 *
 * @package     WC-compat
 * @version     1.0.0
 * @since       WooCommerce 4.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! class_exists( 'SA_WC_Compatibility_4_0' ) ) {

	/**
	 * Class to check WooCommerce version is greater than and equal to 4.0.0
	 */
	class SA_WC_Compatibility_4_0 extends SA_WC_Compatibility_3_9 {

		/**
		 * Function to check if WooCommerce is Greater Than And Equal To 4.0.0
		 *
		 * @return boolean
		 */
		public static function is_wc_gte_40() {
			return self::is_wc_greater_than( '3.9.3' );
		}

	}

}
