How can I hide the Users->Login Log sub-menu for sub-sites in MultiSite?
For example, here's how I remove the Tools-> Delete Site sub-menu:
remove_submenu_page( 'tools.php', 'ms-delete-site.php' );
But no matter what I try, it doens't seem to work for Login Log, i.e.
remove_submenu_page( 'users.php', 'users.php?page=login_log' );
To make sure this menu item shows on the main site (but not on the sub-sites) I'll wrap it in an if/then: "if($current_site->blog_id != $current_blog->blog_id)"
But what I don't know is the correct remove_submenu_page() format to remove it.
Can you please assist? :-)