Is it possible to assign an "admin level" to the user?
I want to restrict only certain parts of plugins from the user, not the whole thing. For example, I want the user to be able to add slideshows, but not access their settings, so I would like to do something like:
someplugin.php
I want to restrict only certain parts of plugins from the user, not the whole thing. For example, I want the user to be able to add slideshows, but not access their settings, so I would like to do something like:
someplugin.php
PHP Code:
<?php if (check_user_permissions($username) > 2) {
// Show settings
}
?>