Created
February 11, 2012 15:01
-
-
Save mikejolley/1800395 to your computer and use it in GitHub Desktop.
WooCommerce - Change order notes placeholder
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
add_filter('woocommerce_checkout_fields', 'custom_woocommerce_checkout_fields'); | |
function custom_woocommerce_checkout_fields( $fields ) { | |
$fields['order']['order_comments']['placeholder'] = 'Your custom placeholder'; | |
return $fields; | |
} |
echo "Thank you!";
any chance to make this mandatory as well?
Thank you very much! :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks 👍