Browse the database of various action and filter hooks available in Paid Memberships Pro. Select an action or filter to view detailed information, examples, and related articles with code recipes.


Show Action and Filter Hooks in:

Filter Hook: Use this hook to change the AJAX  timeout limit from 2000 (2 seconds) to something else when checking and applying discount codes on the Membership Checkout page.

Action Hook: Use this hook to add extra fields to the checkout page or execute custom code immediately after the Billing Address fields.

Action Hook: Use this hook to add extra fields to the checkout page or execute custom code immediately after the Captcha field.

Action Hook: Use this hook to add extra fields to the checkout page or execute custom code immediately after the Email fields.

Action Hook: Use this hook to execute custom code immediately after the level cost on the checkout page.

Action Hook: Use this hook to add extra fields to the checkout page or execute custom code immediately after the Password fields.

Action Hook: Use this hook to add extra fields to the checkout page or execute custom code immediately after the Prcing fields.

Action Hook: Use this hook to add extra fields to the checkout page or execute custom code immediately after the Terms of Service field.

Action Hook: Use this hook to add extra fields to the checkout page or execute custom code immediately after the Username fields.

Action Hook: Use this hook to add extra fields to the checkout page or execute custom code immediately after the User fields.

Action Hook: Use this hook to add extra fields to the checkout page or execute custom code immediately before the Submit button.

Action Hook: Use this hook to add extra fields to the checkout page or execute custom code in the middle of the checkout page.

Filter Hook: This filter controls whether to display and require the “Confirm Email” field at checkout. By default, it’s set to true (show and require field).

Filter Hook: This filter controls whether to display and require the “Confirm Password” field at checkout. By default, it’s set to true (show and require field).

Filter Hook: Filter to set if PMPro uses email or text as the type for email field inputs.

Filter Hook: This filter is used to determine if the “Membership Level” box, including the level description and pricing information, should show up at checkout. The hook allows you to return true or false to override this behavior.

Filter Hook: Filters the $show_country variable which controls whether to show the “Country” field at checkout. By default this is set to true. If set to false, the country will be “US”.

Action Hook: Add extra list item (<li></li>) elements to the Confirmation and Invoice pages. Passes the MemberOrder attached to that invoice.

Filter Hook: Filters whether or not to use the international address form. By default, this is set to true to allow any form of address.  When set to false, this will display the shortened “US” version.

Filter Hook: Filters the HTML content shown when the submit button is clicked on the checkout page. Passes a text string by default, but can be used to pass new HTML code as well.

Filter Hook: Controls whether to show the CVV field on the billing and checkout pages.

Filter Hook: Controls whether or not to use the international form of the State field. If set to true, state field will become a select menu with a list of US state abbreviations. Use pmpro_states to modify the array of state abbreviations used.

Filter Hook: This filter is the same as the WordPress core filter. PMPro