Title: Dynamicly Remove Admin Menu Items
Last modified: August 19, 2016

---

# Dynamicly Remove Admin Menu Items

 *  Resolved [lap-dog-shuffle](https://wordpress.org/support/users/lap-dog-shuffle/)
 * (@lap-dog-shuffle)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/dynamicly-remove-admin-menu-items/)
 * Hi, I’m modding a blog to be used as part of a kids media-training course. I’ve
   used add_theme_page() to create an additional admin page with that allows the
   kids to change stylesheet properties (with color pickers etc.) and upload new
   header images without using the “Theme Editor”.
 * Is there a way I can remove the “Theme Editor” & “Widgets” options without editing
   the admin source? ie. a function equivilent to “remove_theme_page()” – The blogs
   will be auto-updated and I don’t want the options to suddenly re-appear.
 * Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [mendezki](https://wordpress.org/support/users/mendezki/)
 * (@mendezki)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/dynamicly-remove-admin-menu-items/#post-693802)
 * Try the [Custom Admin Menus Plugin](http://barunsingh.com/software/custom-admin-menu/)
 *  Thread Starter [lap-dog-shuffle](https://wordpress.org/support/users/lap-dog-shuffle/)
 * (@lap-dog-shuffle)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/dynamicly-remove-admin-menu-items/#post-693807)
 * thanks mendezki! that plugin must have passed me by…
 *  [mendezki](https://wordpress.org/support/users/mendezki/)
 * (@mendezki)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/dynamicly-remove-admin-menu-items/#post-693859)
 * Me too, just came across it last week : )
 *  [psychomachine](https://wordpress.org/support/users/psychomachine/)
 * (@psychomachine)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/dynamicly-remove-admin-menu-items/#post-694050)
 * does anybody know of a way to accomplish this — remove certain admin menus — 
   in wp 2.5? custom admin menus plugin does not work with 2.5
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 1 month ago](https://wordpress.org/support/topic/dynamicly-remove-admin-menu-items/#post-694051)
 * All you really have to do is to modify the contents of the global $submenu; array.
   There’s an action hook at ‘_admin_menu’ that you can use. It fires right after
   the $submenu is populated.
 *  [psychomachine](https://wordpress.org/support/users/psychomachine/)
 * (@psychomachine)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/dynamicly-remove-admin-menu-items/#post-694052)
 * yup, otto. many thanks for your suggestion.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Dynamicly Remove Admin Menu Items’ is closed to new replies.

## Tags

 * [add_theme_page](https://wordpress.org/support/topic-tag/add_theme_page/)
 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [submenu](https://wordpress.org/support/topic-tag/submenu/)

 * 6 replies
 * 4 participants
 * Last reply from: [psychomachine](https://wordpress.org/support/users/psychomachine/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/dynamicly-remove-admin-menu-items/#post-694052)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
