[Plugin: Hana Code Insert] Limiting access of settings in backend: only admin
-
Love the plugin. It’s really awesome that all sorts of code snippets that are prone to the visual editor’s well-intended but still disastrous ‘correction’ has a safe and reliable solution. Highly recommend it for e.g. PayPal button inclusions.
However…
I see that registered WP users with the ‘author’ creds can mess with the defined codes, and even delete them. Not so good when you have a larger community type WP install, where authors aren’t (necessarily) savvy enough to know where not to stick their nose in…
What do I need to change in the code to ensure that only admin (‘level 1’) users can change the code snippets? In principle, I wouldn’t mind authors (and perhaps even editors) to be able to create new code snippets, but that’s quite likely far past the scope of this current user scope limitation request.
Thanks in advance for the help!
- The topic ‘[Plugin: Hana Code Insert] Limiting access of settings in backend: only admin’ is closed to new replies.