Filter: um_admin_bulk_user_actions_hook

apply_filters( 'um_admin_bulk_user_actions_hook', $um_actions ) → {array}

Filters wp-admin > Users List Table bulk actions.

Parameters:
Name Type Description
$um_actions array

Users admin actions.

Since:
  • 2.8.7 changed format from `$action_slug => array( 'label' => $action_title )` to `$action_slug => $action_title`
Source:
Returns:

Users admin actions.

Type
array
Example

Add `$action_title` to Users List Table bulk actions.

function um_custom_admin_bulk_user_actions_hook( $um_actions ) {
    $um_actions[ $action_slug ] = $action_title;
    return $um_actions;
}
add_filter( 'um_admin_bulk_user_actions_hook', 'um_custom_admin_bulk_user_actions_hook' );