[wp-trac] [WordPress Trac] #14761: unregister_post_type()
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 7 04:55:56 UTC 2011
#14761: unregister_post_type()
-------------------------------------+-----------------------------
Reporter: nacin | Owner:
Type: enhancement | Status: new
Priority: lowest | Milestone: Future Release
Component: Post Types | Version: 2.9
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion |
-------------------------------------+-----------------------------
Comment (by johnkolbert):
Ideally, though, you could de-register a post type and have it remove the
menu item as well. There is a function to remove menu items
[http://www.wprecipes.com/how-to-remove-menus-in-wordpress-dashboard here]
but it is a little 'hack-ish'
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14761#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list