WPCS - WordPress Currency Switcher

$WPCS->get_welcome_currency()

This function created to define what currency is “welcome” in WPCS settings.

global $WPCS;
$welcome_currency=$WPCS->get_welcome_currency();
echo $welcome_currency;

Welcome currency is currency which will be set for the first visit of any unique visitor.