woocommerce_get_bacs_locale filter-hook . WC 1.0
Locale information to be used - only those that are not 'Sort Code'.
Usage
add_filter( 'woocommerce_get_bacs_locale', 'filter_function_name_1154' ); function filter_function_name_1154( $array ){ // filter... return $array; }
- $array
- -
Where the hook is called
woocommerce_get_bacs_locale
woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php 390-434
$this->locale = apply_filters( 'woocommerce_get_bacs_locale', array( 'AU' => array( 'sortcode' => array( 'label' => __( 'BSB', 'woocommerce' ), ), ), 'CA' => array( 'sortcode' => array( 'label' => __( 'Bank transit number', 'woocommerce' ), ), ), 'IN' => array( 'sortcode' => array( 'label' => __( 'IFSC', 'woocommerce' ), ), ), 'IT' => array( 'sortcode' => array( 'label' => __( 'Branch sort', 'woocommerce' ), ), ), 'NZ' => array( 'sortcode' => array( 'label' => __( 'Bank code', 'woocommerce' ), ), ), 'SE' => array( 'sortcode' => array( 'label' => __( 'Bank code', 'woocommerce' ), ), ), 'US' => array( 'sortcode' => array( 'label' => __( 'Routing number', 'woocommerce' ), ), ), 'ZA' => array( 'sortcode' => array( 'label' => __( 'Branch code', 'woocommerce' ), ), ), ) );