Automattic\WooCommerce\Internal\Admin\Orders

ListTable::default_hidden_columns()publicWC 1.0

Specify the columns we wish to hide by default.

Method of the class: ListTable{}

No Hooks.

Return

Array.

Usage

$ListTable = new ListTable();
$ListTable->default_hidden_columns( $hidden, $screen );
$hidden(array) (required)
Columns set to be hidden.
$screen(WP_Screen) (required)
Screen object.

ListTable::default_hidden_columns() code WC 7.1.1

public function default_hidden_columns( array $hidden, WP_Screen $screen ) {
	if ( isset( $screen->id ) && wc_get_page_screen_id( 'shop-order' ) === $screen->id ) {
		$hidden = array_merge(
			$hidden,
			array(
				'billing_address',
				'shipping_address',
				'wc_actions',
			)
		);
	}

	return $hidden;
}