WC_Admin_Taxonomies::product_cat_columns()publicWC 1.0

Thumbnail column added to category admin.

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

No Hooks.

Return

Array.

Usage

$WC_Admin_Taxonomies = new WC_Admin_Taxonomies();
$WC_Admin_Taxonomies->product_cat_columns( $columns );
$columns(mixed) (required)
Columns array.

Code of WC_Admin_Taxonomies::product_cat_columns() WC 6.7.0

public function product_cat_columns( $columns ) {
	$new_columns = array();

	if ( isset( $columns['cb'] ) ) {
		$new_columns['cb'] = $columns['cb'];
		unset( $columns['cb'] );
	}

	$new_columns['thumb'] = __( 'Image', 'woocommerce' );

	$columns           = array_merge( $new_columns, $columns );
	$columns['handle'] = '';

	return $columns;
}