Hiding checkbox for role
-
I want to hide the checkbox for a particular role.
Placing the following line in the “woocommerce_checkout_fields” or “woocommerce_billing_fields” filter doesnt seem to make a difference.
unset($fields[‘kl_newsletter_checkbox’]);
or
unset($fields[‘billing’][‘kl_newsletter_checkbox’]);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hiding checkbox for role’ is closed to new replies.