| 1 |
<?php |
| 2 |
|
| 3 |
return; |
| 4 |
class Elementor_Test_Widget extends \Elementor\Widget_Base { |
| 5 |
|
| 6 |
protected function register_controls() { |
| 7 |
|
| 8 |
$this->start_controls_section( |
| 9 |
'content_section', |
| 10 |
[ |
| 11 |
'label' => esc_html__( 'Content', 'textdomain' ), |
| 12 |
'tab' => \Elementor\Controls_Manager::TAB_CONTENT, |
| 13 |
] |
| 14 |
); |
| 15 |
|
| 16 |
$this->add_control(); |
| 17 |
|
| 18 |
$this->add_control(); |
| 19 |
|
| 20 |
$this->add_control(); |
| 21 |
|
| 22 |
$this->end_controls_section(); |
| 23 |
|
| 24 |
$this->start_controls_section( |
| 25 |
'info_section', |
| 26 |
[ |
| 27 |
'label' => esc_html__( 'Info', 'textdomain' ), |
| 28 |
'tab' => \Elementor\Controls_Manager::TAB_CONTENT, |
| 29 |
] |
| 30 |
); |
| 31 |
|
| 32 |
$this->add_control(); |
| 33 |
|
| 34 |
$this->add_control(); |
| 35 |
|
| 36 |
$this->add_control(); |
| 37 |
|
| 38 |
$this->end_controls_section(); |
| 39 |
|
| 40 |
$this->start_controls_section( |
| 41 |
'style_section', |
| 42 |
[ |
| 43 |
'label' => esc_html__( 'Style', 'textdomain' ), |
| 44 |
'tab' => \Elementor\Controls_Manager::TAB_STYLE, |
| 45 |
] |
| 46 |
); |
| 47 |
|
| 48 |
$this->add_control(); |
| 49 |
|
| 50 |
$this->add_control(); |
| 51 |
|
| 52 |
$this->add_control(); |
| 53 |
|
| 54 |
$this->end_controls_section(); |
| 55 |
|
| 56 |
} |
| 57 |
|
| 58 |
} |