noscript-img

Woocommerce Telefonnummer kein Pflichtfeld in Bestellungen

add_filter( 'woocommerce_billing_fields', 'kd_no_required_phone', 10, 1 );

function kd_no_required_phone( $address_fields ) {
	$address_fields['billing_phone']['required'] = false;
	return $address_fields;
}