Files
medicalalert-web-reloaded/wp/wp-content/plugins/woocommerce-smart-coupons/includes/compat/class-sa-wc-compatibility-8-7.php
2024-06-17 16:29:48 -04:00

34 lines
655 B
PHP

<?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' );
}
}
}