Created
November 23, 2017 12:58
-
-
Save fbmoises/c25118a04780e3586b92e89a577f6f46 to your computer and use it in GitHub Desktop.
Quitar notas de envío del Checkout
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
// Quitar notas de envío del checkout | |
add_filter( 'woocommerce_checkout_fields' , 'wcfb_remove_order_notes' ); | |
function wcfb_remove_order_notes( $fields ) { | |
unset($fields['order']['order_comments']); | |
return $fields; | |
} | |
// Quitar el título del campo | |
add_filter( 'woocommerce_enable_order_notes_field', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment