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