woocommerce_bacs_accounts хук-фильтр . WC 1.0
Get sortcode label in the $locale array and use appropriate one.
Использование
add_filter( 'woocommerce_bacs_accounts', 'filter_function_name_2656', 10, 2 ); function filter_function_name_2656( $account_details, $order_id ){ // filter... return $account_details; }
- $account_details
- -
- $order_id
- -
Где вызывается хук
woocommerce_bacs_accounts
woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php 292
$bacs_accounts = apply_filters( 'woocommerce_bacs_accounts', $this->account_details, $order_id );