Country Based Restrictions PRO Compatibility
-
I noticed you added support for our free version, can you also add for the Pro version?
File – “wc-frontend-manager/helpers/class-wcfm-dependencies.php” on line 387
Updated code:
// WooCommerce Country Based Restrictions – 6.5.3 static function wcfm_woo_country_based_restriction_active_check() { if ( ! self::$active_plugins ) self::init(); return in_array( ‘woo-product-country-base-restrictions/woocommerce-product-country-base-restrictions.php’, self::$active_plugins ) || array_key_exists( ‘woo-product-country-base-restrictions/woocommerce-product-country-base-restrictions.php’, self::$active_plugins ) || in_array( ‘country-base-restrictions-pro-addon/country-base-restrictions-pro-addon.php’, self::$active_plugins ) || array_key_exists( ‘ country-base-restrictions-pro-addon/country-base-restrictions-pro-addon.php ‘, self::$active_plugins ) ; return false; }
The page I need help with: [log in to see the link]
- The topic ‘Country Based Restrictions PRO Compatibility’ is closed to new replies.