A Cozmoslabs Product
Documentation / Developer Knowledge Base / Add currency manually

Add currency manually

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.

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.

Paid Member Subscriptions Pro

Accept (recurring) payments, create subscription plans and restrict content on your website. Easily setup a WordPress membership site using Paid Member Subscriptions.

Get Paid Member Subscriptions

The Ultimate Membership Bundle

Combine the power of Profile Builder with Paid Member Subscriptions to set up user registration, memberships, and recurring revenue.

Get 25% off with the bundle

Help & Support

We’re here to help you every step of the way.

Open a Support Ticket