• Log In
  • Welcome
  • About
  • Pricing
  • Documentation
  • Payment Gateways
  • Showcase
  • Plugin Demo
  • Support
  • Blog
  • Contact

Log In

Skip to content

Paid Memberships Pro

WordPress Membership Plugin
  • Log In
  • Register
  • About
    • Features
    • Screenshots
  • Pricing
  • Docs
    • Download & Install
    • Initial Setup
    • Membership Levels
    • Payment Gateways
    • Shortcodes
    • Content Controls
    • Customizing Emails
    • Languages
    • Discount Codes
    • Caching
    • Actions & Filters
    • Step-by-Step Guides
    • View All Docs
  • Add Ons
  • Themes
  • Gateways
    • PayPal
    • Stripe
    • Authorize.Net
    • Braintree
    • 2Checkout
    • CyberSource
    • Add a New Gateway
  • Support
  • Videos
  • Showcase
    • Testimonials
    • Sites
  • Blog
Home  /  All Action and Filter Hooks  /  pmpro_countries

pmpro_countries

This hook allows you to modify the default list of countries used by PMPro.


apply_filters("pmpro_countries", "US");

apply_filters("pmpro_countries", "US");

Parameters

$pmpro_countries
array

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/countries.php

View in Source Code

Related Articles and Recipes

Change the default country of your Membership website. By Travis Lima

Action and Filter Hooks

  • adminpages/advancedsettings.php
  • adminpages/discountcodes.php
  • adminpages/membershiplevels.php
  • adminpages/memberslist.php
  • adminpages/memberslist-csv.php
  • adminpages/orders.php
  • adminpages/orders-csv.php
  • adminpages/pagesettings.php
  • adminpages/paymentsettings.php
  • adminpages/reports/login.php
  • classes/class.memberorder.php
  • classes/class.pmproemail.php
  • classes/gateways.php
  • classes/gateways/class.pmprogateway_authorizenet.php
  • classes/gateways/class.pmprogateway_braintree.php
  • classes/gateways/class.pmprogateway_check.php
  • classes/gateways/class.pmprogateway_cybersource.php
  • classes/gateways/class.pmprogateway_payflowpro.php
  • classes/gateways/class.pmprogateway_paypal.php
  • classes/gateways/class.pmprogateway_paypalexpress.php
  • classes/gateways/class.pmprogateway_paypalstandard.php
  • classes/gateways/class.pmprogateway_stripe.php
  • classes/gateways/class.pmprogateway_twocheckout.php
  • classes/gateways/paypalstandard.php
  • includes/adminpages.php
  • includes/content.php
  • includes/countries.php
  • includes/currencies.php
  • includes/functions.php
  • includes/https.php
  • includes/init.php
  • includes/login.php
  • includes/profile.php
  • includes/states.php
  • pages/account.php
  • pages/billing.php
  • pages/checkout.php
  • pages/confirmation.php
  • pages/invoice.php
  • paid-memberships-pro.php
  • preheaders/account.php
  • preheaders/billing.php
  • preheaders/checkout.php
  • preheaders/confirmation.php
  • preheaders/levels.php
  • scheduled/crons.php
  • services/applydiscountcode.php
  • services/authnet-silent-post.php
  • services/braintree-webhook.php
  • services/getfile.php
  • services/ipnhandler.php
  • services/stripe-webhook.php
  • services/twocheckout-ins.php
  • shortcodes/pmpro_account.php
  • shortcodes/pmpro_member.php

We’re 100% GPL

Our plugin's code is not obfuscated, runs on as many sites as you want and can be customized to fit your project's needs. We just ask that you follow the GPLv2 guidelines by applying the GPLv2 license to any altered or unaltered version of PMPro that you distribute. Thanks!

GPL v2

Recent Posts

  • PMPro Update 2.2.3
  • top 3 membership site pricing tips
    Join us for a Live Chat and Premiere of our “Top 3 Membership Site Pricing Tips” Video Stream
  • Translate Your Membership Level Information with Paid Memberships Pro

Platform

  • Pricing
  • Features
  • Screenshots
  • Videos
  • Compatibility

Add Ons

  • Free
  • Plus
  • User
  • Integration
  • View All

Get Help

  • Open a Support Ticket
  • Documentation
  • Developers
  • Blog
  • Contact Us

Company

  • About Us
  • Brand Assets
  • Reviews
  • Affiliates
  • Privacy Policy
Follow Us On

© 2019 Paid Memberships Pro. All Rights Reserved.