0 ) { /** * * This function is used to get currency symbol. * * @param array $country_code . */ function get_currency_symbol_contact_bank( $country_code ) { $country_code = strtoupper( $country_code ); $currency = array( 'USD' => '$', // U.S. Dollar . 'AUD' => '$', // Australian Dollar . 'CAD' => 'C$', // Canadian Dollar . 'CZK' => 'Kč', // Czech Koruna . 'DKK' => 'kr', // Danish Krone . 'EUR' => '€', // Euro . 'HKD' => '$', // Hong Kong Dollar . 'HUF' => 'Ft', // Hungarian Forint . 'ILS' => '₪', // Israeli New Sheqel . 'JPY' => '¥', // also use ¥ Japanese Yen . 'MXN' => '$', // Mexican Peso . 'NOK' => 'kr', // Norwegian Krone . 'NZD' => '$', // New Zealand Dollar . 'PHP' => '₱', // Philippine Peso . 'PLN' => 'zł', // Polish Zloty . 'GBP' => '£', // Pound Sterling . 'SGD' => '$', // Singapore Dollar . 'SEK' => 'kr', // Swedish Krona . 'CHF' => 'Fr', // Swiss Franc . 'TWD' => '$', // Taiwan New Dollar . 'THB' => '฿', // Thai Baht . 'INR' => '₹', // Indian Rupee . ); if ( array_key_exists( $country_code, $currency ) ) { return $currency[ $country_code ]; } } $country_code = $selected_general_setting_unserialize['default_currency']; $contact_bank_currency_code = get_currency_symbol_contact_bank( $country_code ); $upload_local_system_files_nonce = wp_create_nonce( 'upload_local_system_files_nonce' ); ?>