WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 4 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: Cc:

Description

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 (3)

comment:1 @SergeyBiryukov2 years ago

  • Type changed from feature request to enhancement

comment:2 @SergeyBiryukov2 years ago

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

comment:3 @boonebgorges4 months ago

  • Keywords needs-patch added
Note: See TracTickets for help on using tickets.