[#12517] Add statistic on download count to download permissions listings on order details page

This commit is contained in:
Josh Smith 2017-08-05 04:35:37 +00:00
parent dfeead42a5
commit 677b81174e
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ if ( ! defined( 'ABSPATH' ) ) {
echo '<a href="' . esc_url( $download_link ) . '">' . esc_html( $file_count ) . '</a>'; echo '<a href="' . esc_url( $download_link ) . '">' . esc_html( $file_count ) . '</a>';
?> ?>
</td> </td>
<td>
<label><?php _e( 'Downloads completed', 'woocommerce' ); ?></label>
<?php echo esc_html( $download->get_download_count() ); ?>
</td>
<td> <td>
<?php <?php
$report_url = add_query_arg( $report_url = add_query_arg(