Skip to content

Commit

Permalink
Making the classic kennitala checkbox unchecked
Browse files Browse the repository at this point in the history
For some reason, this was defaulting on `true`. It is now false.
  • Loading branch information
aldavigdis committed Jun 26, 2024
1 parent 57ff69c commit 9312053
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Hooks/KennitalaField.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,10 @@ public static function render_classic_checkout_field(
woocommerce_form_field(
'kennitala_invoice_requested',
array(
'id' => '1984_woo_dk_checkout_kennitala_invoice_requested',
'type' => 'checkbox',
'label' => __(
'id' => '1984_woo_dk_checkout_kennitala_invoice_requested',
'type' => 'checkbox',
'checked_value' => false,
'label' => __(
'Request an Invoice with Kennitala',
'1984-dk-woo'
),
Expand Down

0 comments on commit 9312053

Please sign in to comment.