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:

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 which methods the REST API accepts. Defaults are GET, POST, PUT, and PATCH.

Filter Hook: Whether to allow REST API permissions via a filter. Default is the result of a capabilities check for pmpro_edit_memberships or read (for subscribers).

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.