| Server IP : 62.60.133.156 / Your IP : 216.73.217.51 Web Server : LiteSpeed System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : mimradmin ( 1166) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mimradmin/www/wp-content/themes/woodmart/inc/modules/header-builder/elements/ |
Upload File : |
<?php
/**
* Root element class file.
*
* @package woodmart
*/
namespace XTS\Modules\Header_Builder\Elements;
use XTS\Modules\Header_Builder\Element;
/**
* Root element. Required for the structure only. Can hold one element only.
*/
class Root extends Element {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
$this->template_name = 'root';
}
/**
* Map element.
*
* @return void
*/
public function map() {
$this->args = array(
'type' => 'root',
'title' => esc_html__( 'Root', 'woodmart' ),
'text' => esc_html__( 'Root', 'woodmart' ),
'editable' => false,
'container' => false,
'edit_on_create' => false,
'drag_target_for' => array(),
'drag_source' => '',
'removable' => false,
'addable' => false,
'class' => '',
'it_works' => 'root',
'content' => array(),
);
}
}