← All changes
|
modules/promotions/widgets/pro-widget-promotion.php
+1
-5
4.3.0
→
3.31.4
View file →
| @@ -27,12 +27,8 @@ | ||
| 27 | 27 | public function get_title() { |
| 28 | 28 | return $this->widget_data['widget_title']; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - public function get_categories() { | |
| 32 | - return [ 'general', 'pro-elements' ]; | |
| 33 | - } | |
| 34 | - | |
| 35 | 31 | public function on_import( $element ) { |
| 36 | 32 | $element['settings']['__should_import'] = true; |
| 37 | 33 | |
| 38 | 34 | return $element; |
| @@ -67,9 +63,9 @@ | ||
| 67 | 63 | 'upgrade_url' |
| 68 | 64 | ); |
| 69 | 65 | ?> |
| 70 | 66 | <div class="e-container"> |
| 71 | - <span class="e-badge"><i class="eicon-upgrade-crown-full" aria-hidden="true"></i> <?php echo esc_html__( 'Pro', 'elementor' ); ?></span> | |
| 67 | + <span class="e-badge"><i class="eicon-lock" aria-hidden="true"></i> <?php echo esc_html__( 'Pro', 'elementor' ); ?></span> | |
| 72 | 68 | <p> |
| 73 | 69 | <img src="<?php echo esc_url( $promotion['image_url'] ); ?>" loading="lazy" alt="Go Pro"> |
| 74 | 70 | <?php |
| 75 | 71 | echo esc_html( $promotion['text'] ); |