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 filter to change the location of the gateway log target file.

Action Hook: For BrainTree only. Execute custom code before sending the Subscription Expired email. Passes the user’s last successful MemberOrder object.

Action Hook: Execute custom code when a subscription payment fails. Passes the last successful MemberOrder object.

Action Hook: For BrainTree only. Execute custom code before sending the Billing Failure email. Passes the user’s last successful MemberOrder object.