WordPress.org

Make WordPress Core

Opened 21 months ago

Last modified 5 weeks ago

#21543 closed enhancement

Add a show_metabox parameter to register_taxonomy — at Version 1

Reported by: wycks Owned by:
Milestone: 3.8 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch
Focuses: Cc:

Description (last modified by SergeyBiryukov)

Currently when registering a taxonomy we have the $show_ui param, this effects both the admin menu and the actual taxonomy meta box on the post edit screens.

There are cases when you want it to show in one but not the other, to do that now you have to use either remove_meta_box or remove_menu_page.

It would be nice to add another parameter like show_metabox => array(posts) to register_taxonomy which would effect the meta boxes only. And one for the admin menu as well.

related: #12718

Change History (1)

comment:1 SergeyBiryukov21 months ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.