PluginProbe
Elementor Website Builder – more than just a page builder / 3.25.2
Elementor Website Builder – more than just a page builder v3.25.2
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | modules/promotions/widgets/pro-widget-promotion.php +1 -6 4.3.1 → 3.25.2 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;
@@ -56,9 +52,8 @@
56 52 $promotion = Filtered_Promotions_Manager::get_filtered_promotion_data(
57 53 [
58 54 'image_url' => esc_url( $this->get_promotion_image_url() ),
59 55 'text' => sprintf(
60 - /* translators: %s: Widget title. */
61 56 esc_html__( 'This result includes the Elementor Pro %s widget. Upgrade now to unlock it and grow your web creation toolkit.', 'elementor' ),
62 57 esc_html( $this->widget_data['widget_title'] )
63 58 ),
64 59 'upgrade_url' => esc_url( 'https://go.elementor.com/go-pro-element-pro/' ),
@@ -67,9 +62,9 @@
67 62 'upgrade_url'
68 63 );
69 64 ?>
70 65 <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>
66 + <span class="e-badge"><i class="eicon-lock" aria-hidden="true"></i> <?php echo esc_html__( 'Pro', 'elementor' ); ?></span>
72 67 <p>
73 68 <img src="<?php echo esc_url( $promotion['image_url'] ); ?>" loading="lazy" alt="Go Pro">
74 69 <?php
75 70 echo esc_html( $promotion['text'] );