Kera checkboxes not appearing on new inputs

Hello,

I am trying to add some new checkbox inputs(e.g 16 y.o. confirmation) when registering on my account page, but the checkboxes do not appear, neither the round check button provided by kera team. I am using a code snippet to add this custom form input.

add_action( ‘woocommerce_register_form’, ‘add_registration_age_confirmation’, 12);

function add_registration_age_confirmation() {

woocommerce_form_field( ‘age_reg’, array(
‘type’ => ‘checkbox’,
‘class’ => array(‘form-row age’),
‘label_class’ => array(‘woocommerce-form__label woocommerce-form__label-for-checkbox checkbox’),
‘input_class’ => array(‘woocommerce-form__input woocommerce-form__input-checkbox input-checkbox’),
‘required’ => true,
‘label’ => ‘I confirm that I am at least 16 years old.’,
));
image
}

Please send the ticker here: https://tickets.thembay.com/

Our Support Team will help you.