WooCommerce Code Reference

WC_Report_Low_In_Stock extends WC_Report_Stock

Low stock report class.

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 Products matching stock criteria.
no_items()  : mixed
No items found text.
output_report()  : mixed
Output the report.
prepare_items()  : mixed
Prepare customer list items.

Properties

Methods

get_items()

Get Products matching stock criteria.

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

Current page number.

$per_page : int

How many results to show per page.

Return values
mixed