restrict_manage_users
Fires just before the closing div containing the bulk role-change controls in the Users list table.
Usage
add_action( 'restrict_manage_users', 'wp_kama_restrict_manage_users_action' );
/**
* Function for `restrict_manage_users` action-hook.
*
* @param string $which The location of the extra table nav markup: 'top' or 'bottom'.
*
* @return void
*/
function wp_kama_restrict_manage_users_action( $which ){
// action...
}
- $which(string)
- The location of the extra table nav markup: 'top' or 'bottom'.
Changelog
| Since 3.5.0 | Introduced. |
| Since 4.6.0 | The $which parameter was added. |
Where the hook is called
restrict_manage_users
wp-admin/includes/class-wp-users-list-table.php 330
do_action( 'restrict_manage_users', $which );