Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Remove checkout fields from WooCommerce Checkou
function wc_ninja_remove_checkout_field( $fields ) {
unset( $fields['billing']['billing_company'] );
return $fields;
add_filter( 'woocommerce_checkout_fields' , 'wc_ninja_remove_checkout_field' );
// list of fields can be found here,

This comment has been minimized.

Copy link

@Mona-Abdelkader Mona-Abdelkader commented Jun 26, 2018

this code doesn't work with me??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.