Add new currency INR in membership 2 pro

Hi
We are using your membership 2 pro plugin but there is not showing Indian currency
So we need to Indian currency in payment option
How to add it there?

  • Sajid

    Hi @ADT,

    Hope you are doing good today :slight_smile:

    Try adding following code in functions.php file of your child theme or use it as mu-plugin to add your currency in settings.

    add_filter( 'ms_model_settings_get_currencies', 'add_custom_currency' );
    function add_custom_currency($default_list) {
    $default_list['INR'] = 'INR - Indian Rupies';
    return $default_list;
    }

    Also, one of our member created an add-on to setup currency and shared in this thread if you are interested then can check this out. However the above code should fix your issue and you can ignore it if you want to.

    Take care and have a nice day :slight_smile:

    Cheers, Sajid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.