[#12517] Add statistic on download count to download permissions listings on order details page
This commit is contained in:
parent
dfeead42a5
commit
677b81174e
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue