| @@ -85,10 +85,14 @@ | ||
| 85 | 85 | if ( Black_Friday::should_display_notice() ) { |
| 86 | 86 | new Black_Friday(); |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | - if ( Conversion_Banner::should_display_banner() ) { | |
| 90 | - new Conversion_Banner(); | |
| 89 | + if ( ! Utils::has_pro() ) { | |
| 90 | + Conversion_Banner::register_cache_invalidation_hooks(); | |
| 91 | + | |
| 92 | + if ( Conversion_Banner::should_display_banner() ) { | |
| 93 | + new Conversion_Banner(); | |
| 94 | + } | |
| 91 | 95 | } |
| 92 | 96 | |
| 93 | 97 | add_filter( 'elementor/editor/localize_settings', [ $this, 'add_editing_panel_sticky_promotion' ] ); |
| 94 | 98 | |