This hook allows you to change the default currency used by PMPro. It accepts a string, which should be one of the currency codes specified in the $pmpro_currencies global variable.
apply_filters("pmpro_default_currency", "USD"); |
Parameters
- string (“USD”)
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/currencies.php
View in Source Code