WooCommerce Code Reference

Search results

WC_Report_Out_Of_Stock extends WC_Report_Stock

WC_Report_Out_Of_Stock class.

Table of Contents

$max_items Max items. int
no_items() No items found text. mixed
get_items() Get Products matching stock criteria. mixed
__construct() Constructor. mixed
no_items() No items found text. mixed
display_tablenav() Don't need this. mixed
output_report() Output the report. mixed
column_default() Get column value. mixed
get_columns() Get columns. array
prepare_items() Prepare customer list items. mixed

Properties

Methods

get_items()

Get Products matching stock criteria.

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

Current page number.

$per_page : int

How many results to show per page.

Return values
mixed

display_tablenav()

Don't need this.

public display_tablenav( $position : string ) : mixed
Parameters
$position : string
Return values
mixed

column_default()

Get column value.

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

prepare_items()

Prepare customer list items.

public prepare_items( ) : mixed
Return values
mixed
Back to the top