Make WordPress Core

Opened 14 months ago

Last modified 14 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:
Focuses: 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 (2)

comment:1 SergeyBiryukov14 months ago

  • Type changed from feature request to enhancement

comment:2 SergeyBiryukov14 months ago

  • Summary changed from Follow on from #21240: Add query filter argument to register_taxonomy to Add query filter argument to register_taxonomy
Note: See TracTickets for help on using tickets.