Skip to content

Instantly share code, notes, and snippets.

@mommaroodles
Created February 2, 2014 00:16
Show Gist options
  • Save mommaroodles/8761165 to your computer and use it in GitHub Desktop.
Save mommaroodles/8761165 to your computer and use it in GitHub Desktop.
Woocommerce: Remove Company Input Field in Checkout Page
<?php
add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
function custom_override_checkout_fields( $fields ) {
unset($fields['billing']['billing_company']);
return $fields;
}
?>
@errakshitjain
Copy link

site gone..wow..what was that??

@bradholmes-studio
Copy link

@errakshitjain at a guessyou copied and pasted the

tags no need to do that just whats in between

@toledoroy
Copy link

Works. Thanks!

@Ahmedsaber9
Copy link

can i found the field in orders panel after apply this code ? also any file to edit ?

@joladubu
Copy link

joladubu commented May 9, 2018

cute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment