Limit Plugin Widget To Admin Only
-
I’m using the plugin Dynamic Headers and it works great but my problem is user access. I am using a multi-site setup and we have tons of users that have access to this plugin via the post and page editor.
I found this code online but don’t know how to implement it into the plugin code properly.
<?php get_currentuserinfo(); global $user_level; if ($user_level > 8) { ?>
I have eliminated access via the menus but this plugin sticks a panel inside of the post and page editors so that you can assign different headers. I would like to make it so that only admins can see this panel.
Here’s a link to the exact plugin –
Thanks for any direction on this!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Limit Plugin Widget To Admin Only’ is closed to new replies.