[wp-trac] [WordPress Trac] #38473: Additional hook for users list table navigation area
WordPress Trac
noreply at wordpress.org
Mon Oct 24 16:08:43 UTC 2016
#38473: Additional hook for users list table navigation area
----------------------------+-----------------------------
Reporter: antonioeatgoat | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38473>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list