PluginProbe
UiCore Elements – Free widgets and templates for Elementor / 1.0.3
UiCore Elements – Free widgets and templates for Elementor v1.0.3
1.3.17 1.3.16 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 All 41 releases
uicore-elements / includes / compatibility / class-wpml-ui-highlighted-text.php

class-wpml-ui-highlighted-text.php in UiCore Elements – Free widgets and templates for Elementor 1.0.3, at includes/compatibility/class-wpml-ui-highlighted-text.php

52 lines 772 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace UiCoreElements\Compatibility;
3 /**
4 * Class WPML_UI_HighlightedText
5 */
6 class WPML_UI_HighlightedText extends \WPML_Elementor_Module_With_Items {
7
8 /**
9 * @return string
10 */
11 public function get_items_field() {
12 return 'content';
13 }
14
15 /**
16 * @return array
17 */
18 public function get_fields() {
19 return array( 'text' );
20 }
21
22 /**
23 * @param string $field
24 * @return string
25 */
26 protected function get_title( $field ) {
27 switch( $field ) {
28
29 case 'text':
30 return esc_html__( 'Highlighted Text', 'uicore-elements' );
31
32 default:
33 return '';
34 }
35 }
36
37 /**
38 * @param string $field
39 * @return string
40 */
41 protected function get_editor_type( $field ) {
42 switch( $field ) {
43 case 'text':
44 return 'LINE';
45
46 default:
47 return '';
48 }
49 }
50
51 }
52