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_added_order

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


pmpro_add_order

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


pmpro_delete_order

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


pmpro_random_code

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


pmpro_updated_order

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


pmpro_update_order

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