#38473 closed enhancement (duplicate)
Additional hook for users list table navigation area
Reported by: | antonioeatgoat | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Users | Keywords: | has-patch |
Focuses: | administration | Cc: |
Description
A similar situation has been already discussed for class-wp-posts-list-table.php
and manage_posts_extra_tablenav
action, here: https://core.trac.wordpress.org/ticket/30341#no0.
The extra_tablenav()
function in class-wp-users-list-table.php
provides a hook for adding extra filtering options (restrict_manage_users
), but there's no way to add extra markup (links, buttons, additional help text, etc.) after the 'Filter' button. I propose adding an additional hook to allow additional markup to be added here.
Adding a hook here may only have fringe use cases, but I don't see a reason not to include it as it won't affect any existing functionality and will make the post and page list tables just a little bit more extensible.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Added the hook