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