This function returns an array of all currencies defined on the plugin settings page.
1 2 | global $WOOCS; $currencies=$WOOCS->get_currencies(); |
Use this function to get any information about any currency in the plugin system. Data returns as shown in the next example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 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' => '', ) ); |
If to set $suppress_filters as TRUE - hook 'woocs_currency_data_manipulation' inside of the function will be disabled!!
