$wms7_data
$wms7_data : array
Saves the current values variables in the array for all modules of plugin.
Description: Creates a site visit custom table.
column_default(array $item, string $column_name) : string
Method used to render a column when no other specific method exists for that column.
When WP_List_Tables attempts to render columns, it first checks for a column-specific method. If none exists, it defaults to this method instead.
array | $item | Content cell of table. |
string | $column_name | Column name. |
prepare_items()
Prepares the list of visits for displaying.
Used to query and filter data, handle sorting, and pagination,
and any other data-manipulation required prior to rendering.
This method should be called explicitly after instantiating Wms7_List_Table class,
and before rendering.
wms7_visit_get_data(string $orderby = false, string $order = false, string $limit, string $offset) : array
Getting data to display in the main plugin table.
string | $orderby | Order by. |
string | $order | Order. |
string | $limit | Limit of records. |
string | $offset | Total records for output. |
Data to display in the main plugin table