WordPress.org

Support

Support » Plugins and Hacks » How to remove WPTouch Admin menu button

How to remove WPTouch Admin menu button

  • Treebeard
    Participant

    @malawimama

    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/

  • The topic ‘How to remove WPTouch Admin menu button’ is closed to new replies.