| Server IP : 213.132.222.41 / Your IP : 216.73.216.254 Web Server : Apache System : Linux plesk4.nlhosting.net 6.1.0-0.deb11.50-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1~deb11u1 (2026-07-02) x86_64 User : thecovenant ( 10927) PHP Version : 8.3.32 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/thecovenant.nl/httpdocs/wp-content/themes/neve/inc/admin/metabox/ |
Upload File : |
<?php
/**
* Page settings metabox.
*
* @package Neve
*/
namespace Neve\Admin\Metabox;
use Neve\Admin\Metabox\Controls\Control_Base;
/**
* Class Metabox_Controls_Base
*
* @package Neve\Admin\Metabox
*/
abstract class Controls_Base {
/**
* Controls.
*
* @var array
*/
private $controls = array();
/**
* Init function
*/
public function init() {
$this->add_controls();
}
/**
* Add controls.
*/
abstract protected function add_controls();
/**
* Add the control.
*
* @param Controls\Control_Base|Object $control the control object.
*/
public function add_control( $control ) {
array_push( $this->controls, $control );
}
/**
* Get the controls.
*
* @return array
*/
public function get_controls() {
return $this->controls;
}
}