MainWP Community

Change the My Account Downloads Column to a different name in WooCommerce

Change the My Account downloads column to a different name if using WooCommerce on your child site.

Snippet Type

Execute on Child Sites

Snippet

function filter_woocommerce_account_downloads_columns( $columns ) {
    $columns['download-file'] = __( 'Files', 'woocommerce');

    return $columns;
}
add_filter( 'woocommerce_account_downloads_columns', 'filter_woocommerce_account_downloads_columns', 10, 1 );
1 Like