• Resolved Pixelbits

    (@pixelbits)


    This plugin has no authorisation-levels. It’s only available for ‘admin’-role.

    I’d like to have it available for the editor.
    Is there a simple way to edit the code like this:

    
    $allowed = false;
    		if(function_exists('wp_get_current_user')){
    			 $user = wp_get_current_user();
    			 // ('editor', 'administrator', 'author', 'subscriber', 'contributor');
    			 $allowed = (current_user_can('editor') || current_user_can('administrator')));
    		 }
    
    if ($allowed) {
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for your request. I have submitted a message to the plugin developers to investigate further your request.

    Kind regards

    Plugin Author mra13

    (@mra13)

    Its by design. We only want the site admin be able to perform database changes. You are free to customize it however you want to for your site’s need.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin is only for administrator not editor’ is closed to new replies.