Add missing currency for Manual/Offline gateway

You might want to add another currency to the list of currencies that PMS provides as we only list currencies that are supported by the Payment Gateways that we have implemented. This will help you use this currency in case you’re planning to use Manual / Offline payments.

1
2
3
4
5
6
add_filter('pms_currencies', 'pmsc_add_currency');
function pmsc_add_currency($currencies) {
	$currencies['CRC'] = __( 'Costa Rican Colon', 'paid-member-subscriptions' );
 
	return $currencies;
}

In my example I am adding the Costa Rican Colon currency with translation support. You need to be careful and provide the right acronym/abbreviation (CRC in this example) so that the currency symbol will be displayed correctly as well.