Support » Plugin: Affiliates » Need other currency ( INA)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author itthinx

    (@itthinx)

    Hi,

    You can use the affiliates_supported_currencies filter for that:

    add_filter( 'affiliates_supported_currencies', 'affiliates_supported_currencies_idr' );
    
    function affiliates_supported_currencies_idr( $currencies ) {
        $currencies[] = 'IDR';
        return $currencies;
    }

    If you place the above in your theme’s functions.php (or encapsulate it in a plugin), you will have the currency added.

    Documentation reference: http://docs.itthinx.com/document/affiliates/api/filters/

    Cheers

    Thread Starter r3p71l

    (@r3p71l)

    thank you for your answer and that’s work for me.

    Have similar issue. I need Nigerian Naira – NGN (₦)

    Plugin Author itthinx

    (@itthinx)

    Arinze, you have the solution right above: simply change ‘IDR’ to ‘NGN’ in the code

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need other currency ( INA)’ is closed to new replies.