Remove Phone field from WooCommerce Checkout

<?php /* * * Remove Phone field from WooCommerce from checkout form * */ add_filter( 'woocommerce_checkout_fields' , 'woo_filter_phone_field' ); function woo_filter_phone_field( $fields ) { unset($fields['billing']['billing_phone']); return $fields; }
Add this code to your functions.php

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.