SyncRoomsListTable extends WP_List_Table
in package

Table of Contents

__construct()  : mixed
column_date()  : mixed
column_default()  : string
This method is called when the parent class can't find a method specifically build for a given column.
column_status()  : mixed
column_title()  : mixed
Method for column "Title", which also contains row actions
get_columns()  : mixed
get_plural()  : mixed
prepare_items()  : mixed
This method will usually be used to query the database, sort and filter the data, and generally get it ready to be displayed. At a minimum, we should set $this->items and $this->set_pagination_args().
single_row()  : mixed
filter_items()  : array<string|int, mixed>
Remove items, map items, add more fields etc.
get_table_classes()  : mixed
query_items()  : mixed

Methods

__construct()

public __construct() : mixed
Return values
mixed

column_date()

public column_date(mixed $item) : mixed
Parameters
$item : mixed
Return values
mixed

column_default()

This method is called when the parent class can't find a method specifically build for a given column.

public column_default(array<string|int, mixed> $item, string $columnName) : string
Parameters
$item : array<string|int, mixed>

A single item from $this->items.

$columnName : string

The name/slug of the column to be processed.

Return values
string

Text or HTML to be placed inside the column <td>.

column_status()

public column_status(mixed $item) : mixed
Parameters
$item : mixed
Return values
mixed

column_title()

Method for column "Title", which also contains row actions

public column_title(mixed $item) : mixed
Parameters
$item : mixed
Return values
mixed

get_columns()

public get_columns() : mixed
Return values
mixed

get_plural()

public get_plural() : mixed
Return values
mixed

prepare_items()

This method will usually be used to query the database, sort and filter the data, and generally get it ready to be displayed. At a minimum, we should set $this->items and $this->set_pagination_args().

public prepare_items() : mixed
Return values
mixed

single_row()

public single_row(mixed $item) : mixed
Parameters
$item : mixed
Return values
mixed

filter_items()

Remove items, map items, add more fields etc.

protected filter_items(array<string|int, mixed> $items) : array<string|int, mixed>
Parameters
$items : array<string|int, mixed>
Return values
array<string|int, mixed>

get_table_classes()

protected get_table_classes() : mixed
Return values
mixed

query_items()

protected query_items() : mixed
Return values
mixed

Search results