I would like to change some “wording” on the inside of woocommerce namely on the BACS payment I’d like to change “Sort Code” into “Branch Code”.
I found where the text comes from, its contained within woocommerce/classes/gateways/bacs/class-wc-bacs.php but I want to avoid hacking the core files of this plugin.
the line looks like this:
'sort_code' => array( 'title' => __( 'Sort Code', 'woocommerce' ), 'type' => 'text', 'description' => '', 'default' => '' ),
The right hook would be (as found here: http://wcdocs.woothemes.com/codex/extending/hooks/)
But I have no idea how to code a snippet for my functions.php to do this change.
- The topic ‘need some help with a hook’ is closed to new replies.