golden hour
/home/phakp/public_html/wp/wp-content/themes/neve/inc/customizer/types
⬆️ Go Up
Upload
File/Folder
Size
Actions
control.php
1.35 KB
Del
OK
panel.php
595 B
Del
OK
partial.php
655 B
Del
OK
section.php
939 B
Del
OK
Edit: section.php
<?php /** * Customizer Section type Enforcing. * * @package Neve\Customizer\Types */ namespace Neve\Customizer\Types; /** * Class Section * * @package Neve\Customizer\Types */ class Section { /** * ID of section * * @var string the control ID. */ public $id; /** * Args for section instance. * * @var array args passed into section. */ public $args = array(); /** * Custom section ( string of class name | null) * * @var null|string */ public $custom_section = null; /** * Section constructor. * * @param string $id the control id. * @param array $args the add_section array. * @param string $custom_section [optional] this should be added if the section is a custom section. */ public function __construct( $id, $args, $custom_section = null ) { $this->id = $id; $this->args = $args; $this->custom_section = $custom_section; } }
Save