\um\admin\coreAdmin_Users

Class Admin_Users

Summary

Methods
Properties
Constants
__construct()
restrict_manage_users()
get_bulk_admin_actions()
user_row_actions()
sort_by_newest()
filter_users_by_status()
add_status_links()
um_bulk_users_edit()
set_redirect_uri()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

Admin_Users constructor.

restrict_manage_users()

restrict_manage_users() 

Add UM Bulk actions to Users List Table

get_bulk_admin_actions()

get_bulk_admin_actions() : string

Get UM bulk actions HTML

Returns

string

user_row_actions()

user_row_actions(array  $actions,   $user_object) : array

Custom row actions for users page

Parameters

array $actions
$user_object

\WP_User

Returns

array

sort_by_newest()

sort_by_newest(  $query) : mixed

Change default sorting at WP Users list table

Parameters

$query

Returns

mixed

filter_users_by_status()

filter_users_by_status(  $query) : mixed

Filter WP users by UM Status

Parameters

$query

Returns

mixed

add_status_links()

add_status_links(  $views) : array|mixed|void

Add status links to WP Users List Table

Parameters

$views

Returns

array|mixed|void

um_bulk_users_edit()

um_bulk_users_edit() 

Bulk user editing actions

set_redirect_uri()

set_redirect_uri(string  $uri) : string

Sets redirect URI after bulk action

Parameters

string $uri

Returns

string