• Resolved pwsean

    (@pwsean)


    Hey. Simple request: hide the plugin from the admin panel for non-admins. Tried:

    remove_action( 'admin_menu', 'ai1wm_admin_menu' );
    remove_action( 'admin_menu', 'all-in-one-wp-migration_admin_menu' );

    No joy. Thanks.

    • This topic was modified 5 years, 6 months ago by pwsean.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yani

    (@yaniiliev)

    The plugin is only shown to users who have export and import capabilities.
    These capabilities usually belong to the Administrator role.
    If you have changed your roles and added these capabilities – removing them from other roles will hide the menu.

    Thread Starter pwsean

    (@pwsean)

    Thanks – but what happens if I want the user to have import/export capabilities (shopmanager say) but I don’t want them to see AI1?

    Plugin Author Yani

    (@yaniiliev)

    Everyone with export/import capability can export the data from your website. If you want users to have this capability, you can change the check that the plugin has when hooking into the menu.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide AIOWPM from non admin’ is closed to new replies.