Current Path : /storage/v11800/acejewellery/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/acejewellery/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-co-branded-cc-compatibility.php |
<?php
/**
* Stripe Co-branded cards compatibility class.
*
* @package WooCommerce Stripe
* @since 8.3.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
class WC_Stripe_Co_Branded_CC_Compatibility {
const MIN_WC_VERSION = '8.9.0';
/**
* Determines whether the current version of WooCommerce is supported.
*
* @return bool
*/
public static function is_wc_supported() {
return 'beta' !== WC_VERSION && version_compare( WC_VERSION, self::MIN_WC_VERSION, '>' );
}
}