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


Show Action and Filter Hooks in:

Action Hook: Use this hook to execute custom code after a PMPro order has been added.

Action Hook: Use this hook to execute custom code before a PMPro order has been added.

Action Hook: Use this hook to execute custom code after an order is deleted. It passes the order ID and order object being deleted.

Filter Hook: Filters how random codes are generated for invoices, discount codes, etc. Passes the code and order object.

Action Hook: Use this hook to execute custom code after a PMPro order has been updated. This hook returns the MemberOrder object.

Action Hook: Use this hook to execute custom code before updating a PMPro order. This hook returns the MemberOrder object.