For developers who need to change what Membership Managers can do, the Membership Manager Role Add On offers two filter hooks. Use them to add or remove capabilities from the role, or to change which roles managers are not allowed to edit or assign.
Filters
pmpro_membership_manager_caps
Filters the capabilities granted to the Membership Manager role. The Add On rebuilds the role on every WordPress admin page load, so changes from this filter take effect on the next admin page load. See Membership Manager Capabilities and Restrictions for the default list.
apply_filters( 'pmpro_membership_manager_caps', array $caps );
Parameters
$caps: array; Capabilities for the role, as an array of capability names set totrue.
Example
Remove access to payment settings and add access to the Design settings screen.
function my_pmpro_membership_manager_caps( $caps ) {
unset( $caps['pmpro_paymentsettings'] );
$caps['pmpro_designsettings'] = true;
return $caps;
}
add_filter( 'pmpro_membership_manager_caps', 'my_pmpro_membership_manager_caps' );
pmprommr_restricted_roles
Filters the roles that Membership Managers can’t edit or assign. Membership Managers can’t edit, change the role of, delete, remove, or switch to any user who has one of these roles, and these roles are removed from the Role dropdowns they see. The same list is used everywhere the Add On applies these restrictions.
apply_filters( 'pmprommr_restricted_roles', array $roles );
Parameters
$roles: array; Role slugs to restrict. Defaultarray( 'administrator', 'editor' ).
Example
Also restrict the WooCommerce Shop Manager role, and let Membership Managers edit and assign the Editor role.
function my_pmprommr_restricted_roles( $roles ) {
// Add a role to the restricted list.
$roles[] = 'shop_manager';
// Remove a role from the restricted list.
$roles = array_diff( $roles, array( 'editor' ) );
return $roles;
}
add_filter( 'pmprommr_restricted_roles', 'my_pmprommr_restricted_roles' );
Get Support From Our Team of Experts
Have a question about how to use this feature? Our Support Page outlines three ways to get support.
Our Max plans include hands-on help customizing your membership site and implementing new features. Upgrade to PMPro Max now »
Last updated on November 12, 2026

