User_List implements Registerable, Standard_Service

Handles functionality on the Users list table screen

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Standard_Service

Table of Contents

add_bulk_actions()  : array<string|int, mixed>
Adds the Approve / Reject bulk actions to the pending user list
admin_notices()  : mixed
Display admin notices
approval_links()  : array<string|int, mixed>
Add the Approve | Reject links to the user list
approve_customer()  : mixed
Approve admin action
handle_bulk_actions()  : string
Handles our bulk action operations
register()  : mixed
{@inheritdoc}
reject_customer()  : mixed
Reject admin action

Methods

add_bulk_actions()

Adds the Approve / Reject bulk actions to the pending user list

public add_bulk_actions(array<string|int, mixed> $actions) : array<string|int, mixed>
Parameters
$actions : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>

$actions

admin_notices()

Display admin notices

public admin_notices() : mixed
Tags
Return values
mixed

Add the Approve | Reject links to the user list

public approval_links(array<string|int, mixed> $actions, WP_User $user) : array<string|int, mixed>
Parameters
$actions : array<string|int, mixed>
$user : WP_User
Tags
Return values
array<string|int, mixed>

approve_customer()

Approve admin action

public approve_customer() : mixed
Tags
Return values
mixed

handle_bulk_actions()

Handles our bulk action operations

public handle_bulk_actions(string $redirect, string $action, array<string|int, mixed> $object_ids) : string
Parameters
$redirect : string
$action : string
$object_ids : array<string|int, mixed>
Tags
Return values
string

$redirect

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

reject_customer()

Reject admin action

public reject_customer() : mixed
Tags
Return values
mixed

Search results