CustomersListTable
extends WP_List_Table
in package
Tags
Table of Contents
- $order : string
- $orderBy : string
- __construct() : mixed
- column_bookings() : string
- column_cb() : string
- column_date_registered() : string
- column_default() : string
- column_email() : string
- column_full_name() : string
- column_last_active() : mixed
- get_columns() : array<string|int, mixed>
- get_sortable_columns() : array<string|int, mixed>
- prepare_items() : mixed
- get_table_classes() : mixed
- query_items() : mixed
Properties
$order
private
string
$order
$orderBy
private
string
$orderBy
Methods
__construct()
public
__construct() : mixed
Return values
mixed —column_bookings()
public
column_bookings(mixed $item) : string
Parameters
- $item : mixed
Return values
string —Link to bookings manage page with filter by customer_id
column_cb()
public
column_cb(mixed $item) : string
Parameters
- $item : mixed
Return values
string —Text or HTML to be placed inside the column <td>.
column_date_registered()
public
column_date_registered(mixed $item) : string
Parameters
- $item : mixed
Return values
string —Text or HTML to be placed inside the column <td>.
column_default()
public
column_default(mixed $item, mixed $columnName) : string
Parameters
- $item : mixed
- $columnName : mixed
Return values
string —Text or HTML to be placed inside the column <td>.
column_email()
public
column_email(mixed $item) : string
Parameters
- $item : mixed
Return values
string —Text or HTML to be placed inside the column <td>.
column_full_name()
public
column_full_name(mixed $item) : string
Parameters
- $item : mixed
Return values
string —Text or HTML to be placed inside the column <td>.
column_last_active()
public
column_last_active(mixed $item) : mixed
Parameters
- $item : mixed
Return values
mixed —get_columns()
public
get_columns() : array<string|int, mixed>
Return values
array<string|int, mixed> —An associative array [ %slug% => %Title% ].
get_sortable_columns()
public
get_sortable_columns() : array<string|int, mixed>
Return values
array<string|int, mixed> —prepare_items()
public
prepare_items() : mixed
Return values
mixed —get_table_classes()
protected
get_table_classes() : mixed
Return values
mixed —query_items()
protected
query_items() : mixed