Есть поле checkbox, нужно сделать его по умолчанию checked.
<p class="form-row form-row ch_pl_checkbox validate-required" id="billing_chekPolitical_field">
<label class="checkbox ">
<input type="checkbox" class="input-checkbox " name="billing_chekPolitical" id="billing_chekPolitical" value="1">
<a href="#">Я принимаю условия политики конфиденцальности</a>
<abbr class="required" title="обязательно">*</abbr>
</label>
</p>
add_filter( 'woocommerce_checkout_fields' , 'no_required_checkout_fields' );
function no_required_checkout_fields( $fields ) {
unset($fields['billing']['billing_last_name']);
unset($fields['billing']['billing_company']);
unset($fields['billing']['billing_country']);
unset($fields['billing']['billing_address_1']);
unset($fields['billing']['billing_address_2']);
unset($fields['billing']['billing_city']);
unset($fields['billing']['billing_state']);
unset($fields['billing']['billing_postcode']);
unset($fields['order']['order_comments']);
print_r($fields['billing']['billing_chekPolitical']);
return $fields;
}
$fields['billing']['billing_chekPolitical'] :
(
[label] => <a href="#">Я принимаю условия политики конфиденцальности</a>
[placeholder] => <a href="#">Я принимаю условия политики конфиденцальности</a>
[clear] => 1
[class] => Array
(
[0] => ch_pl_checkbox
)
[type] => checkbox
[required] => 1
[public] => 1
[payment_method] => 1
[order] => 11
)