$WPCS->get_currencies()
This function returns an array of all currencies defined on the plugin settings page.
global $WPCS; $currencies=$WPCS->get_currencies();
Use this function to get any information about any currency in the plugin system. Data returns as shown in the next example:
array( 'USD' => array( 'name' => 'USD', 'rate' => 1, 'symbol' => '$', 'position' => 'right', 'is_etalon' => 1, 'description' => 'USA dollar', 'hide_cents' => 0, 'flag' => '', ), 'EUR' => array( 'name' => 'EUR', 'rate' => 0.89, 'symbol' => '€', 'position' => 'left_space', 'is_etalon' => 0, 'description' => 'Europian Euro', 'hide_cents' => 0, 'flag' => '', ) );