PluginProbe
Elementor Website Builder – more than just a page builder / 3.24.8
Elementor Website Builder – more than just a page builder v3.24.8
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 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | modules/shapes/widgets/text-path.php +6 -5 4.2.0-dev23.24.8 View file →
@@ -17,8 +17,9 @@
17 17 /**
18 18 * Elementor WordArt widget.
19 19 *
20 20 * Elementor widget that displays text along SVG path.
21 + *
21 22 */
22 23 class TextPath extends Widget_Base {
23 24
24 25 const DEFAULT_PATH_FILL = '#E8178A';
@@ -29,8 +30,9 @@
29 30 * Retrieve Text Path widget name.
30 31 *
31 32 * @return string Widget name.
32 33 * @access public
34 + *
33 35 */
34 36 public function get_name() {
35 37 return 'text-path';
36 38 }
@@ -45,8 +47,9 @@
45 47 * Retrieve Text Path widget title.
46 48 *
47 49 * @return string Widget title.
48 50 * @access public
51 + *
49 52 */
50 53 public function get_title() {
51 54 return esc_html__( 'Text Path', 'elementor' );
52 55 }
@@ -57,8 +60,9 @@
57 60 * Retrieve Text Path widget icon.
58 61 *
59 62 * @return string Widget icon.
60 63 * @access public
64 + *
61 65 */
62 66 public function get_icon() {
63 67 return 'eicon-wordart';
64 68 }
@@ -69,8 +73,9 @@
69 73 * Retrieve the list of keywords the widget belongs to.
70 74 *
71 75 * @return array Widget keywords.
72 76 * @access public
77 + *
73 78 */
74 79 public function get_keywords() {
75 80 return [ 'text path', 'word path', 'text on path', 'wordart', 'word art' ];
76 81 }
@@ -85,13 +90,9 @@
85 90 *
86 91 * @return array Widget style dependencies.
87 92 */
88 93 public function get_style_depends(): array {
89 - return [ 'widget-text-path' ];
90 - }
91 -
92 - public function has_widget_inner_wrapper(): bool {
93 - return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' );
94 + return [ 'widget-shapes' ];
94 95 }
95 96
96 97 /**
97 98 * Register content controls under content tab.