| 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/customizer/types/ |
Upload File : |
<?php
/**
* Customizer control type enforcement.
*
* @package Neve\Customizer\Types
*/
namespace Neve\Customizer\Types;
/**
* Class Control
*
* @package Neve\Customizer\Types
*/
class Control {
/**
* Control ID
*
* @var string the control ID.
*/
public $id;
/**
* Setting arguments.
*
* @var array args passed into settings.
*/
public $setting_args = array();
/**
* Control arguments.
*
* @var array args passed into controls.
*/
public $control_args = array();
/**
* Custom control if applies.
*
* @var null|string
*/
public $custom_control = null;
/**
* The Partials array
*
* @var null|array
*/
public $partial = null;
/**
* Cnstructor.
*
* @param string $id the control id.
* @param array $setting_args the add_setting array.
* @param array $control_args the add_control array.
* @param string $custom_control [optional] this should be added if the control is a custom control.
* @param array $partial [optional] this should be added if the control is a selective refresh control..
*/
public function __construct( $id, $setting_args, $control_args, $custom_control = null, $partial = null ) {
$this->id = $id;
$this->setting_args = $setting_args;
$this->control_args = apply_filters( 'neve_customizer_control_args', $control_args, $id );
$this->custom_control = $custom_control;
$this->partial = $partial;
}
}