diff --git a/src/Modules/Promotions.php b/src/Modules/Promotions.php index d58e2ddc..846ff32c 100644 --- a/src/Modules/Promotions.php +++ b/src/Modules/Promotions.php @@ -345,7 +345,7 @@ private function get_promotions() { $has_woocommerce = class_exists( 'WooCommerce' ); $has_sparks = defined( 'SPARKS_WC_VERSION' ) || $this->is_plugin_installed( 'sparks-for-woocommerce' ); $has_ppom = defined( 'PPOM_VERSION' ) || $this->is_plugin_installed( 'woocommerce-product-addon' ); - $has_redirection_cf7 = defined( 'OPTIMOLE_VERSION' ) || $this->is_plugin_installed( 'optimole-wp' ); + $has_redirection_cf7 = defined( 'WPCF7_PRO_REDIRECT_PLUGIN_VERSION' ) || $this->is_plugin_installed( 'wpcf7-redirect' ); $had_redirection_cf7_promo = get_option( $this->option_optimole, false ); $is_min_req_v = version_compare( get_bloginfo( 'version' ), '5.8', '>=' ); $is_min_fse_v = version_compare( get_bloginfo( 'version' ), '6.2', '>=' );