This hook allows you to change the default country used by PMPro. It accepts a string, which should be one of the country codes specified in the $pmpro_countries global variable.
apply_filters("pmpro_default_country", "US"); |
Parameters
- string (“US”)
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/countries.php
View in Source CodeRelated Articles and Recipes
Change the default country of your Membership website. By Travis Lima