Created
December 18, 2012 20:14
-
-
Save kloon/4331540 to your computer and use it in GitHub Desktop.
WooCommerce Change Bacs sort code text
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_bacs_fields', 'woocommerce_bacs_custom_sort_code_text', 10, 1 ); | |
function woocommerce_bacs_custom_sort_code_text( $fields ) { | |
$fields['sort_code'] = 'BSB'; | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this code is not working
not change sort_code text to BSB