iban_get_branch_part

The WooCommerce Germanized iban get branch part function.

Description

iban_get_branch_part( $iban ); 

Parameters (1)

0. $iban
The iban.

Usage

  1. if ( !function_exists( 'iban_get_branch_part' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-germanized/includes/libraries/iban/php-iban.php'; 
  3.  
  4. // The iban. 
  5. $iban = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = iban_get_branch_part($iban); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/libraries/iban/php-iban.php  
  1. function iban_get_branch_part($iban) { 
  2. $iban = iban_to_machine_format($iban); 
  3. $country = iban_get_country_part($iban); 
  4. if($start!=''&&$stop!='') { 
  5. $bban = iban_get_bban_part($iban); 
  6. return substr($bban, $start, ($stop-$start+1)); 
  7. return '';