Want to customize the WooCommerce “Downloads” table on the My Account page? By default, WooCommerce displays multiple columns (“Product”, “Downloads remaining”, “Expires”, “Download”), but you may want to remove some for a cleaner look or to focus on essential information.
Whether you’re simplifying the layout or tailoring the table to your store’s needs, a simple PHP snippet can help you hide unwanted columns effortlessly.
For example, on Business Bloomer I definitely don’t need the “Downloads remaining” column and the “Expires” one, because all my downloadable products – WooCommerce Mini Plugins – come with unlimited downloads and they never expires!
In this post, I’ll show you how to remove specific columns using a WooCommerce filter. Just add the snippet to your theme’s functions.php file or in a custom plugin, and you’re good to go!

PHP Snippet: Remove Columns From Downloads Table @ WooCommerce My Account
First of all, it’s important that you know the “keys” of each table column. In this way, you can use the correct “key” in the snippet below to target the desired column.
You can find this function in WooCommerce core:
/**
* Get My Account > Downloads columns.
*
* @since 2.6.0
* @return array
*/
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;
}
Which means the correct keys are: ‘download-product’, ‘download-remaining’, ‘download-expires’, ‘download-file’, ‘download-actions’.
Now we can finally move to the snippet!
/**
* @snippet Remove columns @ My Account Downloads
* @tutorial https://businessbloomer.com/woocommerce-customization
* @author Rodolfo Melogli, Business Bloomer
* @compatible WooCommerce 9
* @community https://businessbloomer.com/club/
*/
add_filter( 'woocommerce_account_downloads_columns', 'bbloomer_hide_downloads_table_column' );
function bbloomer_hide_downloads_table_column( $columns ) {
unset( $columns['download-remaining'] );
unset( $columns['download-expires'] ); // REMOVE IF NOT NEEDED
unset( $columns['another-key'] ); // ADD MORE AS NEEDED
return $columns;
}