pmpro_getCurrencyPosition

Which side does the currency symbol go on?.

Description

pmpro_getCurrencyPosition(); 

Usage

  1. if ( !function_exists( 'pmpro_getCurrencyPosition' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'paid-memberships-pro/includes/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = pmpro_getCurrencyPosition(); 
  7.  

Defined (1)

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

/includes/functions.php  
  1. function pmpro_getCurrencyPosition() 
  2. global $pmpro_currency, $pmpro_currencies; 
  3.  
  4. if(!empty($pmpro_currencies[$pmpro_currency]) && is_array($pmpro_currencies[$pmpro_currency]) && !empty($pmpro_currencies[$pmpro_currency]['position'])) 
  5. return $pmpro_currencies[$pmpro_currency]['position']; 
  6. else 
  7. return "left";