WPCS - WordPress Currency Switcher

$WPCS->storage->get_val()

This function can return any WPCS storage value, current currency for example.

global $WPCS;
echo $WPCS->storage->get_val('wpcs_current_currency');

All values which can be get by this function installed in the WPCS storage by the next function: $WPCS->storage->set_val().