restrict_manage_users

Fires just before the closing div containing the bulk role-change controls in the Users list table.

Description

do_action( 'restrict_manage_users', (string) $which ); 

Parameters (1)

0. $which (string)
The location of the extra table nav markup: top or bottom..

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'restrict_manage_users', $which ); 
The following example is for adding a hook callback.
  1. // define the restrict_manage_users callback 
  2. function action_restrict_manage_users( $which ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'restrict_manage_users', 'action_restrict_manage_users', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'restrict_manage_users', 'action_restrict_manage_users', 10, 1 ); 

Defined (1)

The action is defined in the following location(s).

/wp-admin/includes/class-wp-users-list-table.php  
  1. do_action( 'restrict_manage_users', $which );