Home Forums Plugins CURCY – WooCommerce Multi Currency Change Currency Name Text

Change Currency Name Text

  • Author
    Posts
  • #198510

    firepages.co.uk
    Participant

    Hi,

    Is there any way to change the current name text in the dropdown – for example, I want to change GBP Pound sterling to GBP Pounds Sterling ?

    Thanks in advance.

    I was given this code in the free support forum, but it does not work:

    add_filter( ‘wmc_shortcode_currency_display_text’, array( $this, ‘wmc_shortcode_currency_display_text’ ), 10, 2 );
    function wmc_shortcode_currency_display_text($name, $code) {
    if ($code == ‘GBP’) return ‘GBP Pounds Sterling’;
    return $name;
    }

You must be logged in to see replies to this topic. Click here to login or register