Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi,

    Visual Composer creates its menu with virtual ‘exist’ capability which is available to any logged-in user (by WordPress core logic). Thus any user sees VC top level menu.
    Try to add this code to the functions.php file of your active theme or setup it as a “must use” plugin:

    
    add_action('admin_menu', 'hide_js_composer_menu', 100);
    
    function hide_js_composer_menu() {
      global $menu;
      
      if (current_user_can('administrator')) {
        return;
      }
      
      if (isset($menu[76])) {
        unset($menu[76]);
      }
    
    }
    
Viewing 1 replies (of 1 total)
  • The topic ‘Visual composer’ is closed to new replies.