Created
April 29, 2015 14:41
-
-
Save JeffAspen/f52d7cde646aa2f211b5 to your computer and use it in GitHub Desktop.
WooCommerce Checkout Order Notes Placeholder
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
/*-----------------------------------------------------------------------------------*/ | |
/* WooCommerce - Change Order Notes Placeholder Text | |
/*-----------------------------------------------------------------------------------*/ | |
add_filter( 'woocommerce_checkout_fields', 'theme_woocommerce_checkout_fields' ); | |
function theme_woocommerce_checkout_fields( $fields ) { | |
$fields['order']['order_comments']['placeholder'] = 'Add your custom message here'; | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment