pmpro-approvals icon indicating copy to clipboard operation
pmpro-approvals copied to clipboard

Show toolbar if user has Approver role

Open ipokkel opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. When setting the block dashboard and hide toolbar options in Settings > Advanced and the user has pmpro_approver as their only user role the toolbar shows on the frontend for the user, however, if the user has multiple roles assigned and one of those roles is subscriber the toolbar is hidden.

Describe the solution you'd like The WP toolbar shows for a user if they have the pmpro_approver role assigned as an additional role.

Describe alternatives you've considered Customization code that hooks into the pmpro_hide_toolbar filter and sets hide to false if the user has a set role.

Additional context Moderators: #492089

ipokkel avatar Apr 25 '23 04:04 ipokkel