Created
April 8, 2021 14:38
-
-
Save stuartduff/cdc25fb5fdab5dc2521223e26c16cdde to your computer and use it in GitHub Desktop.
Remove billing email field from WooCommerce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function custom_override_billing_fields( $fields ) { | |
unset($fields['billing_email']); | |
return $fields; | |
} | |
add_filter( 'woocommerce_billing_fields' , 'custom_override_billing_fields' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment