20#[AllowDynamicProperties]21classWP_Customize_Control{2223/**24 * Incremented with each new class instantiation, then stored in $instance_number.25 *26 * Used when sorting two instances whose priorities are equal.27 *28 * @since 4.1.029 * @var int30 */31protectedstatic$instance_count=0;3233/**34 * Order in which this instance was created in relation to other instances.35 *36 * @since 4.1.037 * @var int38 */39public$instance_number;4041/**42 * Customizer manager.43 *44 * @since 3.4.045 * @var WP_Customize_Manager46 */47public$manager;4849/**50 * Control ID.51 *52 * @since 3.4.053 * @var string54 */55public$id;5657/**58 * All settings tied to the control.59 *60 * @since 3.4.061 * @var array62 */63public$settings;6465/**66 * The primary setting for the control (if there is one).67 *68 * @since 3.4.069 * @var string|WP_Customize_Setting|null70 */71public$setting='default';7273/**74 * Capability required to use this control.75 *76 * Normally this is empty and the capability is derived from the capabilities77 * of the associated `$settings`.78 *79 * @since 4.5.080 * @var string81 */82public$capability;8384/**85 * Order priority to load the control in Customizer.86 *87 * @since 3.4.088 * @var int89 */90public$priority=10;9192/**93 * Section the control belongs to.94 *95 * @since 3.4.096 * @var string97 */98public$section='';99
History
Introduced in 3.4.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/class-wp-customize-control.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.