4. Checkbox

'field_1' => array(
   'type' => 'checkbox',
   'label' => esc_html__( 'Checkbox', 'my-domain' ),
),

Last updated