add_action( 'woocommerce_thankyou', 'add_download_links_to_thank_you_page' ); function add_download_links_to_thank_you_page( $order_id ) { $order = wc_get_order( $order_id ); $html = []; if( $downloads = $order->get_downloadable_items() ) { foreach( $downloads as $download ) { $html[] = '' . __('Download') . ' "' . $download["file"]['name'] . '"'; } } if( ! empty($html) ){ echo implode('
', $html); } } Greatest Synthesizer Hits V1 - FUTUREWORLD ORCHESTRA - Inspiring Music from the Netherlands

Greatest Synthesizer Hits V1

Greatest Synthesizer Hits - V1

Available soon