Created
February 2, 2014 00:16
-
-
Save mommaroodles/8761165 to your computer and use it in GitHub Desktop.
Woocommerce: Remove Company Input Field in Checkout Page
This file contains hidden or 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
<?php | |
add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' ); | |
function custom_override_checkout_fields( $fields ) { | |
unset($fields['billing']['billing_company']); | |
return $fields; | |
} | |
?> |
@errakshitjain at a guessyou copied and pasted the
tags no need to do that just whats in between
Works. Thanks!
can i found the field in orders panel after apply this code ? also any file to edit ?
cute
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
site gone..wow..what was that??