woocommerce-smart-coupons
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* Compatibility class for WooCommerce 8.7.0
|
||||
*
|
||||
* @category Class
|
||||
* @package WC-compat
|
||||
* @author StoreApps
|
||||
* @version 1.1.0
|
||||
* @since WooCommerce 8.7.0
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( ! class_exists( 'SA_WC_Compatibility_8_7' ) ) {
|
||||
|
||||
/**
|
||||
* Class to check WooCommerce version is greater than and equal to 8.7.0
|
||||
*/
|
||||
class SA_WC_Compatibility_8_7 extends SA_WC_Compatibility_4_4 {
|
||||
|
||||
/**
|
||||
* Function to check if WooCommerce version is greater than and equal To 8.7
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public static function is_wc_gte_87() {
|
||||
return self::is_wc_greater_than( '8.6.1' );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user