Make WordPress Core

Opened 6 years ago

Last modified 4 years 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)

#1 @SergeyBiryukov
6 years ago

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