mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Users: Introduce the manage_users_extra_tablenav
action, fired immediately outside the closing "actions" div in the Users list table tablenav.
A similar `manage_posts_extra_tablenav` hook fires in the same location and context in the Posts list table tablenav. Props GunGeekATX, adamsilverstein. Fixes #36990. git-svn-id: https://develop.svn.wordpress.org/trunk@40974 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a14ea35c38
commit
417b094dd4
@ -281,7 +281,18 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||
* @param string $which The location of the extra table nav markup: 'top' or 'bottom'.
|
||||
*/
|
||||
do_action( 'restrict_manage_users', $which );
|
||||
echo '</div>';
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
/**
|
||||
* Fires immediately following the closing "actions" div in the tablenav for the users
|
||||
* list table.
|
||||
*
|
||||
* @since 4.9.0
|
||||
*
|
||||
* @param string $which The location of the extra table nav markup: 'top' or 'bottom'.
|
||||
*/
|
||||
do_action( 'manage_users_extra_tablenav', $which );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user