woocommerce_bacs_accounts filter-hookWC 1.0

Get sortcode label in the $locale array and use appropriate one.

Usage

add_filter( 'woocommerce_bacs_accounts', 'wp_kama_woocommerce_bacs_accounts_filter', 10, 2 );

/**
 * Function for `woocommerce_bacs_accounts` filter-hook.
 * 
 * @param  $account_details 
 * @param  $order_id        
 *
 * @return 
 */
function wp_kama_woocommerce_bacs_accounts_filter( $account_details, $order_id ){

	// filter...
	return $account_details;
}
$account_details
-
$order_id
-

Where the hook is called

WC_Gateway_BACS::bank_details()
woocommerce_bacs_accounts
woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php 293
$bacs_accounts = apply_filters( 'woocommerce_bacs_accounts', $this->account_details, $order_id );

Where the hook is used in WooCommerce

Usage not found.