Skip to content

Instantly share code, notes, and snippets.

@kloon
Created December 18, 2012 20:14
Show Gist options
  • Save kloon/4331540 to your computer and use it in GitHub Desktop.
Save kloon/4331540 to your computer and use it in GitHub Desktop.
WooCommerce Change Bacs sort code text
add_filter( 'woocommerce_bacs_fields', 'woocommerce_bacs_custom_sort_code_text', 10, 1 );
function woocommerce_bacs_custom_sort_code_text( $fields ) {
$fields['sort_code'] = 'BSB';
return $fields;
}
@nomanzahid925
Copy link

this code is not working
not change sort_code text to BSB

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