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.

Membership Required

Create a free account to access downloads, documentation and courses.

Free Sign Up

Already a member? Log in here
Show Action and Filter Hooks in:

Filter Hook: This filter allows you to change admin account membership levels via API calls. We added this filter to make sure the REST API does not change information for admin accounts mistakenly.

Filter Hook: Allows you to filter the information when creating a user via the REST API or our Zapier native integration’s change_membership_level endpoint.

Filter Hook: Filter the maximum per_page value that the PMPro REST API collection endpoints (memberships, orders, and subscriptions) accept. Requests for more are reduced to this number. Added in PMPro 3.9.

Filter Hook: Filter which methods the REST API accepts. Defaults are GET, POST, PUT, and PATCH.

Filter Hook: Filter whether the current request is allowed to use a PMPro REST API route. The default is the result of the capability check for that route. Most routes require pmpro_edit_members, and you can change a route’s capability with the pmpro_rest_api_route_capabilities filter.

Filter Hook: Filters the capabilities for available routes in the WordPress REST API methods for Paid Memberships Pro.

Filter Hook: Allow filtering the total number of recent members to show in the /recent_memberships PMPro endpoint.