WooCommerce Code Reference

WC_Report_Out_Of_Stock extends WC_Report_Stock

WC_Report_Out_Of_Stock 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
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