| @@ -38,9 +38,8 @@ | ||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | public function __construct() { |
| 41 | 41 | parent::__construct(); |
| 42 | - AngiePromotion::init(); | |
| 43 | 42 | |
| 44 | 43 | add_filter( 'elementor/editor/v2/packages', fn( $packages ) => $this->add_packages( $packages ) ); |
| 45 | 44 | add_action( 'elementor/elements/categories_registered', [ $this, 'maybe_register_custom_widgets_category_fallback' ], 100 ); |
| 46 | 45 | add_action( 'rest_api_init', fn() => $this->register_consent_route() ); |
| @@ -90,12 +89,8 @@ | ||
| 90 | 89 | } |
| 91 | 90 | |
| 92 | 91 | public function render_custom_widgets_category_heading_cta(): void { |
| 93 | 92 | if ( ! Plugin::$instance->experiments->is_feature_active( self::EXPERIMENT_NAME ) ) { |
| 94 | - return; | |
| 95 | - } | |
| 96 | - | |
| 97 | - if ( ! current_user_can( 'manage_options' ) ) { | |
| 98 | 93 | return; |
| 99 | 94 | } |
| 100 | 95 | |
| 101 | 96 | ?> |