This function allows user roles which have the ‘list_users’ capability to see and interact with the Admin Approval panel.
1 2 3 4 5 6 7 | /* * Allow users with capability delete_users to view the admin approval panel */ add_filter( 'wppb_admin_approval_user_capability', 'wppb_change_admin_approval_user_capability'); function wppb_change_admin_approval_user_capability($cap){ return 'list_users'; } |
Create beautiful front-end registration and profile forms with custom fields. Setup member directories, custom redirects, cutomize user emails & more using the all in one user management plugin.
Get Profile BuilderCombine the power of Profile Builder with Paid Member Subscriptions to set up user registration, memberships, and recurring revenue.
Get 25% off with the bundle