15#[AllowDynamicProperties]16classWP_Customize_Control{1718/**19 * Incremented with each new class instantiation, then stored in $instance_number.20 *21 * Used when sorting two instances whose priorities are equal.22 *23 * @since 4.1.024 * @var int25 */26protectedstatic$instance_count=0;2728/**29 * Order in which this instance was created in relation to other instances.30 *31 * @since 4.1.032 * @var int33 */34public$instance_number;3536/**37 * Customizer manager.38 *39 * @since 3.4.040 * @var WP_Customize_Manager41 */42public$manager;4344/**45 * Control ID.46 *47 * @since 3.4.048 * @var string49 */50public$id;5152/**53 * All settings tied to the control.54 *55 * @since 3.4.056 * @var array57 */58public$settings;5960/**61 * The primary setting for the control (if there is one).62 *63 * @since 3.4.064 * @var string|WP_Customize_Setting|null65 */66public$setting='default';6768/**69 * Capability required to use this control.70 *71 * Normally this is empty and the capability is derived from the capabilities72 * of the associated `$settings`.73 *74 * @since 4.5.075 * @var string76 */77public$capability;7879/**80 * Order priority to load the control in Customizer.81 *82 * @since 3.4.083 * @var int84 */85public$priority=10;8687/**88 * Section the control belongs to.89 *90 * @since 3.4.091 * @var string92 */93public$section='';94
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 6.7.7 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.