Skip to content

Instantly share code, notes, and snippets.

@WebEndevSnippets
Created November 13, 2012 16:30
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save WebEndevSnippets/4066777 to your computer and use it in GitHub Desktop.
Save WebEndevSnippets/4066777 to your computer and use it in GitHub Desktop.
WooCommerce: Change Order Notes Placeholder Text
add_filter( 'woocommerce_checkout_fields', 'webendev_woocommerce_checkout_fields' );
/**
* Change Order Notes Placeholder Text - WooCommerce
*
*/
function webendev_woocommerce_checkout_fields( $fields ) {
$fields['order']['order_comments']['placeholder'] = 'Your custom placeholder';
return $fields;
}
@aronmoshe-m
Copy link

Woohoo! Thanks. Saved me time here.

@ikazi1
Copy link

ikazi1 commented Feb 11, 2019

Great. Thanks.

@palilaStudio
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment