Section::__construct( string $id, array $args, string $custom_section = null )
Section constructor.
Parameters
- $id
-
(Required) the control id.
- $args
-
(Required) the add_section array.
- $custom_section
-
(Optional) [optional] this should be added if the section is a custom section.
Default value: null
Source
File: inc/customizer/types/section.php
Expand full source code Collapse full source code View on Github