Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/1534260/cwd/plugins/elementor-pro/modules/theme-builder/documents/ |
Upload File : |
<?php namespace ElementorPro\Modules\ThemeBuilder\Documents; use Elementor\Core\DocumentTypes\Post; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } abstract class Header_Footer_Base extends Theme_Section_Document { public function get_css_wrapper_selector() { return '.elementor-' . $this->get_main_id(); } protected static function get_editor_panel_categories() { // Move to top as active. $categories = [ 'theme-elements' => [ 'title' => esc_html__( 'Site', 'elementor-pro' ), 'active' => true, ], ]; return $categories + parent::get_editor_panel_categories(); } protected function register_controls() { parent::register_controls(); Post::register_style_controls( $this ); $this->update_control( 'section_page_style', [ 'label' => esc_html__( 'Style', 'elementor-pro' ), ] ); } protected function get_remote_library_config() { $config = parent::get_remote_library_config(); $config['category'] = $this->get_name(); return $config; } }