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: Perform an action when adding a custom column in the memberlist table.
Filter Hook: Filter to adjust the value of the “Expires” column on the Members List, Members List CSV export, and “Expires” column on the Recent Members widget.
Filter Hook: Add extra columns to the memberlist table.
Filter Hook: Filter the sortable columns of the Members List table. Adding a column here only shows the sort link in the column header. The column key also needs an entry in the allowed orderbys array, which you can filter with pmpro_memberslist_allowed_orderbys. Added in PMPro 3.9.
Filter Hook: Filter the JOIN clauses added to the Members List query for sorting. It runs only on the data query, not the count query. Use it with pmpro_memberslist_sortable_columns and pmpro_memberslist_allowed_orderbys to make a custom column sortable. Added in PMPro 3.9.
Filter Hook: Filter whether the Members List query groups rows by user and level. Grouping is only needed when a query can return more than one row for a user and level. Skipping it lets MySQL read a page of results from an index instead of sorting every member. Added in PMPro 3.9.
Filter Hook: Filter the user data in the admin member list and the members list CSV export.

