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: This hook pmpro_checkout_start_date allows you to change the start date of a membership before checkout.
Filter Hook: FIlters the membership level passed and changes the order accordingly. Passes the membership level ID and user ID of the order.
Filter Hook: Change how the email is checked in the PayPal IPN handler. Passes true or false and an array containing the receiver email and business email.
Action Hook: Execute custom code before saving a successful order. This hook is available for the following gateways: Stripe, PayPal, Authorize.net, Braintree, and TwoCheckout.
Action Hook: Execute custom code when a subscription payment fails. Passes the last successful MemberOrder object.