WordPress.org

Ready to get started?Download WordPress

Forums

WPtouch Mobile Plugin
How to remove WPTouch Admin menu button (1 post)

  1. Treebeard
    Member
    Posted 5 months ago #

    I think I have the right function, but I'm not sure what the menu slug is for the WPTouch button in the admin, so it's not working properly.

    This is what I tried:

    function remove_menus(){
    
      remove_menu_page( 'admin.php?page=wptouch-admin-touchboard' ); //WPTouch Pro
    }
    
    add_action( 'admin_menu', 'remove_menus' );

    Also tried removing the 'admin.php?page=' but that didn't work.

    Does anyone know how to find out what the menu slug is for a third party plugin?

    Thanks!

    https://wordpress.org/plugins/wptouch/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.