WC_Admin_API_Keys_Table_List
extends WP_List_Table
in package
API Keys table list class.
Table of Contents
- __construct() : mixed
- Initialize the API key table list.
- column_cb() : string
- Column cb.
- column_last_access() : string
- Return last access column.
- column_permissions() : string
- Return permissions column.
- column_title() : string
- Return title column.
- column_truncated_key() : string
- Return truncated consumer key column.
- column_user() : string
- Return user column.
- get_columns() : array<string|int, mixed>
- Get list columns.
- no_items() : mixed
- No items found text.
- prepare_items() : mixed
- Prepare table list items.
- search_box() : mixed
- Search box.
- get_bulk_actions() : array<string|int, mixed>
- Get bulk actions.
Methods
__construct()
Initialize the API key table list.
public
__construct() : mixed
Return values
mixed —column_cb()
Column cb.
public
column_cb(array<string|int, mixed> $key) : string
Parameters
- $key : array<string|int, mixed>
-
Key data.
Return values
string —column_last_access()
Return last access column.
public
column_last_access(array<string|int, mixed> $key) : string
Parameters
- $key : array<string|int, mixed>
-
Key data.
Return values
string —column_permissions()
Return permissions column.
public
column_permissions(array<string|int, mixed> $key) : string
Parameters
- $key : array<string|int, mixed>
-
Key data.
Return values
string —column_title()
Return title column.
public
column_title(array<string|int, mixed> $key) : string
Parameters
- $key : array<string|int, mixed>
-
Key data.
Return values
string —column_truncated_key()
Return truncated consumer key column.
public
column_truncated_key(array<string|int, mixed> $key) : string
Parameters
- $key : array<string|int, mixed>
-
Key data.
Return values
string —column_user()
Return user column.
public
column_user(array<string|int, mixed> $key) : string
Parameters
- $key : array<string|int, mixed>
-
Key data.
Return values
string —get_columns()
Get list columns.
public
get_columns() : array<string|int, mixed>
Return values
array<string|int, mixed> —no_items()
No items found text.
public
no_items() : mixed
Return values
mixed —prepare_items()
Prepare table list items.
public
prepare_items() : mixed
Return values
mixed —search_box()
Search box.
public
search_box(string $text, string $input_id) : mixed
Parameters
- $text : string
-
Button text.
- $input_id : string
-
Input ID.
Return values
mixed —get_bulk_actions()
Get bulk actions.
protected
get_bulk_actions() : array<string|int, mixed>