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


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

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.