• Resolved jodzeee

    (@jodzeee)


    I’d like to hide the menu that was recently added (I’m totally happy finding the settings on the Plugins page). I’d rather not install a plugin for this. I tried this code and it didn’t work. Can someone point me in the right direction?

    add_action('admin_init', function () {
    remove_menu_page('admin.php?page=wpfactory-cross-selling');
    });
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Taha Amin

    (@tahaamin)

    Hi @jodzeee,

    Thanks for reaching out.

    The new menu item was introduced because many customers use multiple plugins from us daily, and moving to a dedicated menu provides a more convenient way to manage settings, updates, and licenses in one place. This change aims to improve the user experience.

    I tried using your code to hide it but couldn’t get it to work. I’m sorry I couldn’t be more helpful.

    Thank you for your understanding, and I hope you get it sorted soon. Feel free to reach out if you need any further assistance.

    Best regards,

    Thread Starter jodzeee

    (@jodzeee)

    I poked around some more and figured out the correct slug. For anyone else who wants to remove the menu, this works:

    add_action(‘admin_menu’, function () {
    ? ? remove_menu_page(‘wpfactory’);
    });

    Plugin Support Taha Amin

    (@tahaamin)

    Hi @jodzeee,

    Thanks for the update! I will mark this topic as resolved for now. Feel free to reach out if you need any assistance.

    Regards

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