WordPress at Your Fingertips
function is not described

WC_Report_Stock::get_columns() public WC 1.0

Get columns.

{} It's a method of the class: WC_Report_Stock{}

No Hooks.

Return

Array.

Usage

$WC_Report_Stock = new WC_Report_Stock();
$WC_Report_Stock->get_columns();

Code of WC_Report_Stock::get_columns() WC 5.8.0

public function get_columns() {

	$columns = array(
		'product'      => __( 'Product', 'woocommerce' ),
		'parent'       => __( 'Parent', 'woocommerce' ),
		'stock_level'  => __( 'Units in stock', 'woocommerce' ),
		'stock_status' => __( 'Stock status', 'woocommerce' ),
		'wc_actions'   => __( 'Actions', 'woocommerce' ),
	);

	return $columns;
}