um_admin_bulk_user_actions_hook

Hook type

Filter

Description

Admin Users List Table bulk actions

Parameters

$actions

(array) User List Table bulk actions

Usage

add_filter( 'um_admin_bulk_user_actions_hook', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_admin_bulk_user_actions_hook', 'my_admin_bulk_user_actions', 10, 1 );
function my_admin_bulk_user_actions( $actions ) {
    // your code here
$actions['my-custom-bulk'] = array(
'label' => 'My Custom Bulk Action'
);
return $actions;
}
?>

Change Log

Since: 2.0

Source

um_admin_bulk_user_actions_hook is located in includes/admin/core/class-admin-users.php::line 82