Make WordPress Core

Opened 3 years ago

Last modified 5 months ago

#23422 new enhancement

Add query filter argument to register_taxonomy

Reported by: tifosi Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: needs-patch
Focuses: administration Cc:


Following on from the #21240 ticket which introduced the show_admin_column functionality I would like to suggest an additional argument to easily add the select list query filter for a taxonomy to the post-type list.

Currently a taxonomy query can be added via the 'restrict_manage_posts' action and 'parse_query' filter.

It would be useful to add an additional register_taxonomy argument of 'show_column_filter' to define a standard select option list of the taxonomy terms. Things like default option and hierarchy could be optional settings is an array is passed instead of boolean.

Change History (4)

#1 @SergeyBiryukov
3 years ago

  • Type changed from feature request to enhancement

#2 @SergeyBiryukov
3 years ago

  • Summary changed from Follow on from #21240: Add query filter argument to register_taxonomy to Add query filter argument to register_taxonomy

#3 @boonebgorges
19 months ago

  • Keywords needs-patch added

#4 @chriscct7
5 months ago

  • Focuses administration added
Note: See TracTickets for help on using tickets.