59 lines
848 B
PHP
59 lines
848 B
PHP
<?php
|
|
namespace Elementor;
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Exit if accessed directly.
|
|
}
|
|
|
|
/**
|
|
* Elementor Inner Section widget.
|
|
*
|
|
* Elementor widget that creates nested columns within a section.
|
|
*
|
|
* @since 3.5.0
|
|
*/
|
|
class Widget_Inner_Section extends Widget_Base {
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public static function get_type() {
|
|
return 'section';
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function get_name() {
|
|
return 'inner-section';
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function get_title() {
|
|
return esc_html__( 'Inner Section', 'elementor' );
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function get_icon() {
|
|
return 'eicon-columns';
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function get_categories() {
|
|
return [ 'basic' ];
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function get_keywords() {
|
|
return [ 'row', 'columns', 'nested' ];
|
|
}
|
|
}
|