mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +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. Built from https://develop.svn.wordpress.org/trunk@40974 git-svn-id: http://core.svn.wordpress.org/trunk@40824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
25370ba481
commit
903d23be34
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-40973';
|
||||
$wp_version = '4.9-alpha-40974';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user