Created
August 28, 2015 20:14
-
-
Save chrdesigner/ceb43ff8685990681e97 to your computer and use it in GitHub Desktop.
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
<?php | |
// Remove o Field de Informação adicional | |
add_filter( 'woocommerce_checkout_fields' , 'alter_woocommerce_checkout_fields' ); | |
function alter_woocommerce_checkout_fields( $fields ) { | |
unset($fields['order']['order_comments']); | |
return $fields; | |
} | |
// Remove o título de Informação adicional | |
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