Automattic\WooCommerce\Internal\StockNotifications\Admin

ListTable::get_columns │ public │ WC 1.0

Get a list of columns. The format is: 'internal-name' => 'Title'

Method of the class: ListTable{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

ListTable::get_columns() code WC 11.2.2

public function get_columns() {

	$columns                     = array();
	$columns['cb']               = '<input type="checkbox" />';
	$columns['id']               = _x( 'Notification', 'column_name', 'woocommerce' );
	$columns['status']           = _x( 'Status', 'column_name', 'woocommerce' );
	$columns['user']             = _x( 'User/Email', 'column_name', 'woocommerce' );
	$columns['product']          = _x( 'Product', 'column_name', 'woocommerce' );
	$columns['sku']              = _x( 'SKU', 'column_name', 'woocommerce' );
	$columns['date_created_gmt'] = _x( 'Signed Up', 'column_name', 'woocommerce' );

	return $columns;
}