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:
Action Hook: This hook executes custom code at the end of an Order page in the WordPress dashboard. The MemberOrder object is passed.
Action Hook: Add extra columns to the Orders page with the pmpro_orders_extra_cols_body and pmpro_orders_extra_cols_header hooks. Passes the $order object.
Action Hook: Add extra columns to the Orders page with the pmpro_orders_extra_cols_body and pmpro_orders_extra_cols_header hooks. Passes the array of order IDs
Filter Hook: Change the default number of items to show on the Members List page.
Filter Hook: Modifies the array of fields which are readonly on the Orders page. The callback function should return an array of field names or an empty array to make all fields editable.
Filter Hook: Filters the list of fields to search for when using the Search Orders function on the Orders pages.
Filter Hook: Controls whether or not to also search by usermeta when using the Search functionality on the Orders pages. By default, this is set to false (don’t search usermeta).
Filter Hook: Controls whether or not to show affiliate IDs on the Orders Page. This is used by various integrations with affiliate platforms.
Filter Hook: Add extra user row actions or links to the orders in the dashboard. Works the same as the core user_row actions. Array of actions should be formatted as array(‘key’ => ‘HTML link’)
Filter Hook: Filters the list of statuses which can be applied to an order using the “Status” select menu when editing or adding a new order. Passes an array of statuses.
Filter Hook: Modifies the tax associated with an order. Passes the tax amount, an array of values such as the price of the order and more, and the MemberOrder object.