| @@ -69,10 +69,8 @@ | ||
| 69 | 69 | if ( Black_Friday::should_display_notice() ) { |
| 70 | 70 | new Black_Friday(); |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - add_filter( 'elementor/editor/localize_settings', [ $this, 'add_v4_promotions_data' ] ); | |
| 74 | - | |
| 75 | 73 | if ( Utils::has_pro() ) { |
| 76 | 74 | return; |
| 77 | 75 | } |
| 78 | 76 | |
| @@ -81,8 +79,9 @@ | ||
| 81 | 79 | } ); |
| 82 | 80 | |
| 83 | 81 | add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_react_data' ] ); |
| 84 | 82 | add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_editor_v4_alphachip' ] ); |
| 83 | + add_filter( 'elementor/editor/localize_settings', [ $this, 'add_v4_promotions_data' ] ); | |
| 85 | 84 | |
| 86 | 85 | // Add Ally promo |
| 87 | 86 | Ally_Dashboard_Widget::init(); |
| 88 | 87 | |