Am I right in assuming you’re trying to change the currency for United Kingdom?
I’ve just tried it here using the following code and it worked:
add_filter( 'propertyhive_countries', 'add_country');
function add_country($countries)
{
$countries['GB'] = array(
'name' => 'United Kingdom',
'currency_code' => 'GBP',
'currency_symbol' => 'RM',
'currency_prefix' => true
);
return $countries;
}
Note that the country code for United Kingdom is GB and not UK (just incase that’s a common mistake).
If this doesn’t work I have a few questions:
1. In settings, which countries do you have selected?
2. Where are you seeing the £ symbol? In the backend or on the website? Or both?
3. Did you upgrade to version 1.0.8?
4. Can you send me the code you’re using to try and overwrite the currency?
Let me know and I’ll do my best to get this sorted for you.
Thanks,
Steve