woocommerce_get_bacs_locale filter-hookWC 1.0

Locale information to be used - only those that are not 'Sort Code'.

Usage

add_filter( 'woocommerce_get_bacs_locale', 'wp_kama_woocommerce_get_bacs_locale_filter' );

/**
 * Function for `woocommerce_get_bacs_locale` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_woocommerce_get_bacs_locale_filter( $array ){

	// filter...
	return $array;
}
$array
-

Where the hook is called

WC_Gateway_BACS::get_country_locale()
woocommerce_get_bacs_locale
woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php 391-435
$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' ),
			),
		),
	)
);

Where the hook is used in WooCommerce

Usage not found.