Where is function.php is stored and built? I want to remove menu named as tools from mysite from all user like admin and other user’s?
I Request you please help me out from this problem.Give me the best solution like lay-man to wordpress so that i can understand things quickly.
You want to use remove menu page.
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.The following code removes menus, place in your theme functions.php file:
If you just want to remove just tools then change this line:
to:
This will only remove the menu item. You can still get to tools by typing in the URL manually.
Why don’t use “Admin Menu Editor” plugin to easy manager Admin-cp menu ??!
Take a look on it, i’m using it for my current project, i want to say it’s “perfect” !!!
http://wordpress.org/extend/plugins/admin-menu-editor/
Hope it can help you.
Regards,