Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1331
    wortfm
    Spectator

    I would like to restrict access for some roles to the User Assign Categories plugin option that appears in the User’s tab. I still want the user to be able to access their Profile.

    I have the pro version, but this menu option doesn’t exist, only Users or Profile and I want those 2 to remain accessible.

    #1351
    Vladimir
    Keymaster

    This plugin uses deprecated user levels.
    Update it manually:
    replace

    add_submenu_page('users.php', 'UserCategory', 'User assign categories', 10, basename(__FILE__), array('UserCategory', 'uscat_form'));
    

    with

    add_submenu_page('users.php', 'UserCategory', 'User assign categories', 'delete_users', basename(__FILE__), array('UserCategory', 'uscat_form'));
    

    and this menu item will become available at “Admin menu” dialog of User Role Editor.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.