Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show toolbar if user has Approver role #172

Open
ipokkel opened this issue Apr 25, 2023 · 0 comments
Open

Show toolbar if user has Approver role #172

ipokkel opened this issue Apr 25, 2023 · 0 comments

Comments

@ipokkel
Copy link
Member

ipokkel commented Apr 25, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants