WordPress at Your Fingertips
function is not described

WC_Report_Downloads::get_columns() public WC 1.0

Get columns.

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

No Hooks.

Return

Array.

Usage

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

Code of WC_Report_Downloads::get_columns() WC 5.8.0

public function get_columns() {
	$columns = array(
		'timestamp'       => __( 'Timestamp', 'woocommerce' ),
		'product'         => __( 'Product', 'woocommerce' ),
		'file'            => __( 'File', 'woocommerce' ),
		'order'           => __( 'Order', 'woocommerce' ),
		'user'            => __( 'User', 'woocommerce' ),
		'user_ip_address' => __( 'IP address', 'woocommerce' ),
	);

	return $columns;
}