[wp-hackers] Custom Taxonomies
Mike Schinkel
mikeschinkel at newclarity.net
Sat Nov 27 06:28:44 UTC 2010
On Nov 27, 2010, at 12:48 AM, Eddie O'Leary wrote:
> Any thoughts on how to hide Custom Taxonomies from the Wordpress Admin Nav
> menus but still show them in the add / edit post pages?
If I understand what you are asking then here's some code to show you how. Basically is removed the menu option from the global $submenu array:
https://gist.github.com/717635
Since a picture is worth a 1000 words, this might help you understand the code a bit better:
http://mikeschinkel.com/websnaps/skitched-20101127-012515.png
Hope this helps.
-Mike
More information about the wp-hackers
mailing list