Browse the database of various hooks and filters available in Paid Memberships Pro. Select a hook or filter to view detailed information, examples, blog posts, and code recipes.


Show Hooks and Filters in:


pmpro_ajax_timeout

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.


pmpro_checkout_after_billing_fields

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


pmpro_checkout_after_captcha

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


pmpro_checkout_after_email

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


pmpro_checkout_after_level_cost

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


pmpro_checkout_after_password

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


pmpro_checkout_after_pricing_fields

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


pmpro_checkout_after_tos_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.


pmpro_checkout_after_username

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


pmpro_checkout_after_user_fields

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


pmpro_checkout_before_submit_button

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


pmpro_checkout_boxes

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


pmpro_checkout_confirm_email

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).


pmpro_checkout_confirm_password

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).


pmpro_international_addresses

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”.


pmpro_invoice_bullets_top

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


pmpro_processing_message

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.


pmpro_show_cvv

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


pmpro_state_dropdowns

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.


the_content

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