403Webshell
Server IP : 127.0.1.1  /  Your IP : 127.0.0.1
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux sealall 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64
User : devops ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/domains/sealall.ca/wp-content/themes/bricks/includes/settings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/domains/sealall.ca/wp-content/themes/bricks/includes/settings/base.php
<?php
namespace Bricks;

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

abstract class Settings_Base {
	public $setting_type; // page, template
	public $controls;
	public $control_groups;

	public function __construct( $type = '' ) {
		$this->setting_type   = $type;
		$this->controls       = [];
		$this->control_groups = [];

		$this->set_control_groups();
		$this->set_controls();
	}

	public function set_control_groups() {}

	public function set_controls() {}

	public function get_controls() {
		return $this->controls;
	}

	public function get_control_groups() {
		return $this->control_groups;
	}

	/**
	 * Get all controls data (controls and control_groups)
	 *
	 * @since 1.0
	 */
	public function get_controls_data() {
		$data = [
			'controls'      => $this->controls,
			'controlGroups' => $this->control_groups,
		];

		// https://academy.bricksbuilder.io/article/filter-builder-settings-type-controls_data/
		return apply_filters( "builder/settings/{$this->setting_type}/controls_data", $data );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit