I am was looking to change the title of the additional information tab in WooCommerce checkout page. I ran across this code that worked initially but when I entered special characters (it's a site in a different language - š,ā,ņ etc) it didn't work.
Do you know a solution for this? The code that worked before is located in:
Change title "Additional Information" in woocommerce
// Hook in
add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
// Our hooked in function - $fields is passed via the filter!
function custom_override_checkout_fields( $fields ) {
$fields['order']['order_comments']['placeholder'] = 'Please type your PO number here and we will add it to the invoice.';
$fields['order']['order_comments']['label'] = '';
return $fields;
}
Any help?