63 lines
		
	
	
		
			917 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			917 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' ];
 | |
| 	}
 | |
| 
 | |
| 	protected function is_dynamic_content(): bool {
 | |
| 		return false;
 | |
| 	}
 | |
| }
 |