WooCommerce Code Reference

WC_Report_Downloads extends WP_List_Table

WC_Report_Downloads.

Table of Contents

$max_items  : int
Max items.
__construct()  : mixed
Constructor.
column_default()  : mixed
Get column value.
display_tablenav()  : mixed
Don't need this.
get_columns()  : array<string|int, mixed>
Get columns.
get_items()  : mixed
Get downloads matching criteria.
no_items()  : mixed
No items found text.
output_report()  : mixed
Output the report.
prepare_items()  : mixed
Prepare download list items.
get_filter_vars()  : object
Get filters from querystring.

Properties

Methods

column_default()

Get column value.

public column_default(mixed $item, string $column_name) : mixed
Parameters
$item : mixed

Item being displayed.

$column_name : string

Column name.

Return values
mixed

get_items()

Get downloads matching criteria.

public get_items(int $current_page, int $per_page) : mixed
Parameters
$current_page : int

Current viewed page.

$per_page : int

How many results to show per page.

Return values
mixed