restrict_manage_users
Fires just before the closing div containing the bulk role-change controls in the Users list table.
Description
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.
- // run the action
- do_action( 'restrict_manage_users', $which );
- The following example is for adding a hook callback.
- // define the restrict_manage_users callback
- function action_restrict_manage_users( $which ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'restrict_manage_users', 'action_restrict_manage_users', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- 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
- do_action( 'restrict_manage_users', $which );