سلام
این کد رو به functions.php اضافه کنید 
// show 5 download in my-acount
function get_customer_latest_downloads( $downloads, $limit = 5 ) {
    // Only on my account pages for more than 5 downloads
    if( sizeof($downloads) > $limit ) {
        $keys_by_order_id = $sorted_downloads = array();
        $count = 0;
        // Loop through the downloads array
        foreach( $downloads as $key => $download ) {
            // Store the array key with the order ID
            $keys_by_order_id[$key] = $download['order_id']; 
        }
        // Sorting the array by Order Ids in DESC order
        arsort($keys_by_order_id); 
        // Loop through the sorted array
        foreach( $keys_by_order_id as $key => $order_id ) {
            // Set the corresponding  download in a new array (sorted)
            $sorted_downloads[] = $downloads[$key];
            $count++; // Increase the count
            // When the count reaches the limit
            if( $count === $limit ) {
                break; // We stop the loop
            }
        }
        return $sorted_downloads;
    }
    return $downloads;
}
این کد رو dashboard.php در ووکامرس پوشه myacount اضافه کنید
    $downloads = WC()->customer->get_downloadable_products();
$downloads     = get_customer_latest_downloads( $downloads );  ?>
<table class="table table-download">
            <thead>
                <tr>
                    <th>نام محصول</th>
                </tr>
            </thead>
            <tbody>
<?php foreach($downloads as $key=>$value){ ?>
<tr>
    <td><?php echo $value['product_name'] ; ?></td>
</tr>
<?php } ?>
        </tbody>
        </table>
        <?php else : 
        ?>
        <p>هیچ محصولی دانلود نشده</p>
        <?php endif; ?>
ببینید این سری هم بهتون گفتم ولی اینجوری نمیشه , خودتون هم باید تلاش کنید وقتی گیر کردید بپرسید شما همش میگی این کارو میخام انجام بدم منتظری میشینید یکی لقمه رو آماده کنه بزاره دهنتون
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟