PK qhYJF F ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/familymovies.us/wp-content/plugins/paid-memberships-pro/includes/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/familymovies.us/wp-content/plugins/paid-memberships-pro/includes/currencies.php |
<?php global $pmpro_currencies, $pmpro_default_currency; $pmpro_default_currency = apply_filters("pmpro_default_currency", "USD"); $pmpro_currencies = array( 'USD' => __('US Dollars ($)', 'paid-memberships-pro' ), 'EUR' => array( 'name' => __('Euros (€)', 'paid-memberships-pro' ), 'symbol' => '€', 'position' => apply_filters("pmpro_euro_position", pmpro_euro_position_from_locale()) ), 'GBP' => array( 'name' => __('Pounds Sterling (£)', 'paid-memberships-pro' ), 'symbol' => '£', 'position' => 'left' ), 'ARS' => __('Argentine Peso ($)', 'paid-memberships-pro' ), 'AUD' => __('Australian Dollars ($)', 'paid-memberships-pro' ), 'BRL' => array( 'name' => __('Brazilian Real (R$)', 'paid-memberships-pro' ), 'symbol' => 'R$', 'position' => 'left' ), 'CAD' => __('Canadian Dollars ($)', 'paid-memberships-pro' ), 'CNY' => __('Chinese Yuan', 'paid-memberships-pro' ), 'CZK' => array( 'name' => __('Czech Koruna', 'paid-memberships-pro' ), 'decimals' => '2', 'thousands_separator' => ' ', 'decimal_separator' => ',', 'symbol' => ' Kč', 'position' => 'right', ), 'DKK' => array( 'name' =>__('Danish Krone', 'paid-memberships-pro' ), 'decimals' => '2', 'thousands_separator' => ' ', 'decimal_separator' => ',', 'symbol' => 'DKK ', 'position' => 'left', ), 'GHS' => array( 'name' => __('Ghanaian Cedi (₵)', 'paid-memberships-pro' ), 'symbol' => '₵', 'position' => 'left', ), 'HKD' => __('Hong Kong Dollar ($)', 'paid-memberships-pro' ), 'HUF' => __('Hungarian Forint', 'paid-memberships-pro' ), 'INR' => __('Indian Rupee', 'paid-memberships-pro' ), 'IDR' => __('Indonesia Rupiah', 'paid-memberships-pro' ), 'ILS' => __('Israeli Shekel', 'paid-memberships-pro' ), 'JPY' => array( 'name' => __('Japanese Yen (¥)', 'paid-memberships-pro' ), 'symbol' => '¥', 'position' => 'left', 'decimals' => 0, ), 'KES' => __('Kenyan Shilling', 'paid-memberships-pro' ), 'MYR' => __('Malaysian Ringgits', 'paid-memberships-pro' ), 'MXN' => __('Mexican Peso ($)', 'paid-memberships-pro' ), 'NGN' => __('Nigerian Naira (₦)', 'paid-memberships-pro' ), 'NZD' => __('New Zealand Dollar ($)', 'paid-memberships-pro' ), 'NOK' => __('Norwegian Krone', 'paid-memberships-pro' ), 'PHP' => __('Philippine Pesos', 'paid-memberships-pro' ), 'PLN' => __('Polish Zloty', 'paid-memberships-pro' ), 'RON' => array( 'name' => __( 'Romanian Leu', 'paid-memberships-pro' ), 'decimals' => '2', 'thousands_separator' => '.', 'decimal_separator' => ',', 'symbol' => ' Lei', 'position' => 'right' ), 'RUB' => array( 'name' => __('Russian Ruble (₽)', 'paid-memberships-pro'), 'decimals' => '2', 'thousands_separator' => ' ', 'decimal_separator' => ',', 'symbol' => '₽', 'position' => 'right' ), 'SGD' => array( 'name' => __('Singapore Dollar ($)', 'paid-memberships-pro' ), 'symbol' => '$', 'position' => 'right' ), 'ZAR' => array( 'name' => __('South African Rand (R)', 'paid-memberships-pro' ), 'symbol' => 'R ', 'position' => 'left' ), 'KRW' => array( 'name' => __('South Korean Won', 'paid-memberships-pro' ), 'decimals' => 0, ), 'SEK' => __('Swedish Krona', 'paid-memberships-pro' ), 'CHF' => __('Swiss Franc', 'paid-memberships-pro' ), 'TWD' => __('Taiwan New Dollars', 'paid-memberships-pro' ), 'THB' => __('Thai Baht', 'paid-memberships-pro' ), 'TRY' => __('Turkish Lira', 'paid-memberships-pro' ), 'UAH' => array( 'name' => __('Ukrainian Hryvnia (₴)', 'paid-memberships-pro' ), 'decimals' => 0, 'thousands_separator' => '', 'decimal_separator' => ',', 'symbol' => '₴', 'position' => 'right' ), 'VND' => array( 'name' => __('Vietnamese Dong', 'paid-memberships-pro' ), 'decimals' => 0, ), ); $pmpro_currencies = apply_filters("pmpro_currencies", $pmpro_currencies); //stripe only supports a few (not using this anymore since 1.7.4) global $pmpro_stripe_currencies; $pmpro_stripe_currencies = array( 'USD' => __('US Dollars ($)', 'paid-memberships-pro' ), 'CAD' => __('Canadian Dollars ($)', 'paid-memberships-pro' ), 'GBP' => __('Pounds Sterling (£)', 'paid-memberships-pro' ), 'EUR' => __('Euros (€)', 'paid-memberships-pro' ) ); /** * Get the Euro position based on locale. * English uses left, others use right. */ function pmpro_euro_position_from_locale($position = 'right') { $locale = get_locale(); if(strpos($locale, 'en_') === 0) { $position = 'left'; } return $position; } /** * Get an array of data for a specified currency. * Defaults to the current currency set in the global. */ function pmpro_get_currency( $currency = null ) { global $pmpro_currency, $pmpro_currencies; // Defaults $currency_array = array( 'name' =>__('US Dollars ($)', 'paid-memberships-pro' ), 'decimals' => '2', 'thousands_separator' => ',', 'decimal_separator' => '.', 'symbol' => '$', 'position' => 'left', ); if ( ! empty( $pmpro_currency ) ) { if ( is_array( $pmpro_currencies[$pmpro_currency] ) ) { $currency_array = array_merge( $currency_array, $pmpro_currencies[$pmpro_currency] ); } else { $currency_array['name'] = $pmpro_currencies[$pmpro_currency]; } } return $currency_array; }