PluginProbe
Elementor Website Builder – more than just a page builder / 3.28.0-dev2
Elementor Website Builder – more than just a page builder v3.28.0-dev2
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 +0 -5 4.1.0-beta3 → 3.28.0-dev2 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/' ),