Add a customize setting.
public add_setting ( WP_Customize_Setting | string $id, array $args = [] ) : WP_Customize_Setting | ||
$id | WP_Customize_Setting | string | Customize Setting object, or ID. |
$args | array | Setting arguments; passed to WP_Customize_Setting constructor. |
return | WP_Customize_Setting | The instance of the setting that was added. |