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

visibility admin-only #7

Open
codeagencybe opened this issue May 29, 2017 · 1 comment
Open

visibility admin-only #7

codeagencybe opened this issue May 29, 2017 · 1 comment

Comments

@codeagencybe
Copy link

Hello,

I'm checking the visibility section but I don't see an option to load it in backend only?
I want to let shop owners/users that work in backend be able to check documentation and send in support tickets but nothing on the front-end.

So basically an option that checks if user is in backend and/or an option that can show the beacon only if logged-in role = xxxxx
where xxx can be chosen from dropdown so we can pick e.g. administrator, shop owner or only authors etc...

@ecotechie
Copy link

You'd need to check if current_user_can( 'administrator' ) and hide the help tab with CSS.

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

No branches or pull requests

2 participants