[wp-trac] [WordPress Trac] #25360: Add a filter in WP_Users_List_Table
WordPress Trac
noreply at wordpress.org
Sat Oct 3 07:23:22 UTC 2015
#25360: Add a filter in WP_Users_List_Table
-------------------------------------------------+-------------------------
Reporter: juliobox | Owner:
Type: enhancement | DrewAPicture
Priority: normal | Status: closed
Component: Users | Milestone: 4.4
Severity: normal | Version: 3.6
Keywords: has-patch needs-docs good-first-bug | Resolution: fixed
needs-refresh | Focuses:
-------------------------------------------------+-------------------------
Changes (by DrewAPicture):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"34796"]:
{{{
#!CommitTicketReference repository="" revision="34796"
Users: Introduce the `users_list_table_query_args` filter, for modifying
the `WP_User_Query` arguments used within the `prepare_items()` methods in
the users list tables.
The current list table is passed as a second parameter, `$this`, and can
take the form of either a `WP_Users_List_Table` or
`WP_MS_Users_List_Table` instance depending on the context in which the
filter was evaluated.
Props juliobox for the initial patch.
Fixes #25360.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25360#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list