woocommerce_bacs_accounts

woocommerce_bacs_accounts

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_bacs_accounts') is found 1 times:

  • /includes/gateways/bacs/class-wc-gateway-bacs.php line 318
     
    		// Get sortcode label in the $locale array and use appropriate one.
    		$sortcode = isset( $locale[ $country ]['sortcode']['label'] ) ? $locale[ $country ]['sortcode']['label'] : __( 'Sort code', 'woocommerce' );
    
    		$bacs_accounts = apply_filters( 'woocommerce_bacs_accounts', $this->account_details, $order_id );
    
    		if ( ! empty( $bacs_accounts ) ) {
    			$account_html = '';
    			$has_details  = false;
    
    			foreach ( $bacs_accounts as $bacs_account ) {