WordPress at Your Fingertips
function is not described

wc_get_account_downloads_columns() WC 2.6.0

Get My Account > Downloads columns.

Hooks from the function

Return

Array.

Usage

wc_get_account_downloads_columns();

Changelog

Since 2.6.0 Introduced.

Code of wc_get_account_downloads_columns() WC 5.8.0

function wc_get_account_downloads_columns() {
	$columns = apply_filters(
		'woocommerce_account_downloads_columns',
		array(
			'download-product'   => __( 'Product', 'woocommerce' ),
			'download-remaining' => __( 'Downloads remaining', 'woocommerce' ),
			'download-expires'   => __( 'Expires', 'woocommerce' ),
			'download-file'      => __( 'Download', 'woocommerce' ),
			'download-actions'   => ' ',
		)
	);

	if ( ! has_filter( 'woocommerce_account_download_actions' ) ) {
		unset( $columns['download-actions'] );
	}

	return $columns;
}