[wp-trac] [WordPress Trac] #39406: Make callback_args filterable in WP_Terms_List_Table
WordPress Trac
noreply at wordpress.org
Sat Oct 12 00:04:53 UTC 2019
#39406: Make callback_args filterable in WP_Terms_List_Table
-------------------------+------------------------------
Reporter: tifosi | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
-------------------------+------------------------------
Changes (by pbiron):
* keywords: => has-patch
* focuses: => administration
Comment:
[https://core.trac.wordpress.org/attachment/ticket/39406/39406.diff
39406.diff] adds a filter to filter the arguments before the call the
`get_terms()` in `WP_Terms_List_Table::display_rows_or_placeholder()`.
The name of the new filter is different that proposed by @tifosi, but is
more inline with similar filters in other list tables (e.g.,
[https://developer.wordpress.org/reference/hooks/users_list_table_query_args/
users_list_table_query_args] and
https://developer.wordpress.org/reference/hooks/ms_sites_list_table_query_args/
ms_sites_list_table_query_args]).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39406#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list