[wp-hackers] Custom Taxonomies
Pete Mall
pete at jointforcestech.com
Sat Nov 27 06:44:39 UTC 2010
or you can use remove_submenu_page in 3.1.
https://gist.github.com/717644
On Fri, Nov 26, 2010 at 10:28 PM, Mike Schinkel <mikeschinkel at newclarity.net
> wrote:
> 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
>
>
>
>
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list