| 1 |
<?php |
| 2 |
namespace Elementor; |
| 3 |
|
| 4 |
if ( ! defined( 'ABSPATH' ) ) { |
| 5 |
exit; // Exit if accessed directly. |
| 6 |
} |
| 7 |
|
| 8 |
/** |
| 9 |
* Elementor Inner Section widget. |
| 10 |
* |
| 11 |
* Elementor widget that creates nested columns within a section. |
| 12 |
* |
| 13 |
* @since 3.5.0 |
| 14 |
*/ |
| 15 |
class Widget_Inner_Section extends Widget_Base { |
| 16 |
|
| 17 |
/** |
| 18 |
* @inheritDoc |
| 19 |
*/ |
| 20 |
public static function get_type() { |
| 21 |
return 'section'; |
| 22 |
} |
| 23 |
|
| 24 |
/** |
| 25 |
* @inheritDoc |
| 26 |
*/ |
| 27 |
public function get_name() { |
| 28 |
return 'inner-section'; |
| 29 |
} |
| 30 |
|
| 31 |
/** |
| 32 |
* @inheritDoc |
| 33 |
*/ |
| 34 |
public function get_title() { |
| 35 |
return esc_html__( 'Inner Section', 'elementor' ); |
| 36 |
} |
| 37 |
|
| 38 |
/** |
| 39 |
* @inheritDoc |
| 40 |
*/ |
| 41 |
public function get_icon() { |
| 42 |
return 'eicon-columns'; |
| 43 |
} |
| 44 |
|
| 45 |
/** |
| 46 |
* @inheritDoc |
| 47 |
*/ |
| 48 |
public function get_categories() { |
| 49 |
return [ 'basic' ]; |
| 50 |
} |
| 51 |
|
| 52 |
/** |
| 53 |
* @inheritDoc |
| 54 |
*/ |
| 55 |
public function get_keywords() { |
| 56 |
return [ 'row', 'columns', 'nested' ]; |
| 57 |
} |
| 58 |
} |
| 59 |
|