Description
add_filter( 'woocommerce_checkout_fields', function( $fields ) { $fields['order']['order_comments']['label'] = 'Special instructions'; return $fields; } );
Renames the Order notes field to Special instructions.
This is a basic version of an official extension you may wish to look at: Checkout Field Editor.
add_filter( 'woocommerce_checkout_fields', function( $fields ) { $fields['order']['order_comments']['label'] = 'Special instructions'; return $fields; } );
Using our Google upload form:
We code all of our code snippets directly. Our clients provide most of the ideas and demand for the functionality provided by our code snippets.
There are several sources one can find on Google for code that has inspired or contributed to this open-source library. Here’s some main ones:
All code snippets are licensed GPLv2 (or later) matching WordPress licensing.
Disclaimer of warranty:
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.