You want to use remove menu page.
<?php
add_action( 'admin_menu', 'wpse26980_remove_tools', 99 );
function wpse26980_remove_tools()
{
remove_menu_page( 'tools.php' );
}
You can drop that in your functions.php file (without the opening <?php
most likely).
That’s not going to prevent people from typing in yoursite.com/wp-admin/tools.php
and seeing the tools page, however.
Related Posts:
- Add menu page on multisite
- Removing “Sub-menus” from My Sites Drop-down in Admin Bar
- wp_redirect not working on admin menu page
- Show media-frame-menu on custom Media Frame
- Updated to version 3.8 and Admin pages are very slow. How to diagnose problem? [closed]
- How to remove and disable access to General Settings Page including its link
- My Sites link in multisite is incorrect
- the menu of the network does not display my second website
- Multisite – cannot remove specific sub-menu its parent menu. All sub-menus disappear
- WordPress Multisite giving users access to specific Admin Pages
- load styles and scripts in network admin not working
- 4th Network Site Database Errors?
- Why are my roles not visible in a Multi-site/Network?
- How to use same email for multiple users
- How do I remove/delete an old super admin user?
- How will self-hosted WordPress work with Google Page Speed Service?
- What is the best way to load the WP environment in a subdomain of my multisite WordPress install?
- Benefits or Problems for using Sub-Directory vs Sub-Domain install of WP Network
- What methods should be used to fend off splogs in a multiuser install? [closed]
- Mega WordPress Applications WPMU or otherwise
- Does the WordPress API work with multisite?
- wp_get_attachment_image_src multisite issue
- Transfer Subdomain site to Multisite setup
- WP REST API – Multisite – get posts from all sites
- How to Login Once to an Entire WP Multisite Network
- How properly delete only one site (blog) from the Network in WordPress Multisite (WPMU)
- What is the best way to setup wordpress development environment for freelancers with version control?
- Multisite sub-site dashboard redirects to /wp-admin/
- Trying to access second site dashboard on a multisite configuration proceeds to an error
- Get source from the_post_thumbnail
- How to configure WordPress Multisite by bash script?
- WordPress Multisite with VVV
- How do I park secure.primary.com on top of the multisite ID:1 domain: www.primary.com (primary multisite domain)
- WordPress multisite,one theme,and different languages?
- Removing /blog/ from multisites cause infinite redirection
- Has anyone seen a ‘visual anatomy’ type graphic of the Buddypress plugin?
- How to configure DNS If I use the plugin yet-another-multi-site-manager?
- Problem in Internationalizing a plugin built for network level usage
- Alias domain to Multi-site installation in Apache
- Custom rewrite rule sends 404 header on multisite
- WordPress multisite subdirectory on nginx behind reverse proxy
- Multiple WordPress Blogs on one host, using 1 WordPress installation, using multiple templates
- How to use the “domain_exists()” function
- Woocommerce Multisite Get Orders from Another Site
- Subdomains With WordPress
- Assign role to user on first login, if they are first (after admin)
- Avoid having infinite loops
- WordPress Multisite/Network – How to use a subdomain as main blog and subdomain for child sites
- Pretty Link Lite Plugin on WP Multisite
- WPMU Development Environment
- turn single domain off
- WordPress Multilingual Theme using Multisite
- use get_sites subsite_id with get_bloginfo”() and/or get_custom_logo
- How can I update dev links for a live site?
- Multisite – One user allowed access to all sites?
- How to recover deleted site in WordPress Multisite?
- Entry page for a wordpress multisite
- WordPress Multisite dashboards redirect to homepage
- WordPress with Tor Onion Service (dual .com & .onion domains for same website)
- Use external database with local multisite
- URL redirect/rewrite rule wordpress multisite
- Issue with wp_get_attachment_url() function for multisite
- Networksite/multisite is disabled ?, Why?
- My subdomain on WordPress Multisite has gone
- How to have yearly versions of same site with different content (like yearly conferences)?
- Network Admin URL is shown to anyone before accessing a blog
- Canonical Resource URLs Across a Multisite Network 2012?
- how to migrate wpmu from one host to the other?
- Multisite WPLANG won’t save
- Child Theme Based on Toolbox Not Found
- Limit blogs creation
- How To Disable Add new users On Subsites In Multisite?
- MultiSite: new Sites not showing up
- Create a CSS file in plugin folder when theme is activated
- What is the best method of installing WP on multiple add-on domains?
- WP MultiSite: Can’t select database error after changing to new domain
- switch_to_blog() not functioning while querying post_types, Why?
- Different site different div content – Multisite
- Installing wordpress on a subfolder of adsense approved domain
- can’t create user without email for an author after converting single site to multisite
- Launch Media Library for specific MU site
- Redirect Function Prevents Images from Showing in Front-end Media Uploader
- multiple domains point to same site on WP-MU
- Can I replace the “Upgrade Network” with SQL query?
- How to convert multisite subdomain from http to https
- One membership area for two websites
- Define a new sub-folder naming – Multisite
- Multisite install in a subfolder won’t work with www
- Domain mapping breaks some plugin scripts and css
- How to force WP to create a users table in multisite configuration?
- Creating a stand-alone site from a WordPress sub site
- Whats a good strategy for localising WordPress post and page content?
- Updating themes customized by users
- WordPress and multisites, the rigth choice?
- Multisite pagination with get_posts
- Best Way to Setup a Network of WP Sites?
- Trying to create site-wide Active Directory sync with Multisite
- 404 error in dashboard of subdomain of multisite
- WordPress Multisites
- The wpmu_blogs_columns filter is not working