Restrict Membership Signup by Country

This code recipe allows you to restrict members in specific countries from signing up.

The restricted countries are defined in a $restricted_countries array of level IDs and country codes (see the $pmpro_currencies array in the plugin file /includes/countries.php for included country codes).

pmpro_restrict-countries

This page requires a PMPro Core Account or higher.

Already have an account? Login Now »

New to this site? Register Now »