woocommerce/plugins/woocommerce-admin/includes/emails/html-admin-report-export-do...

25 lines
556 B
PHP

<?php
/**
* Admin report export download
*
* @package WooCommerce/Admin/Templates/Emails/HTML
*/
defined( 'ABSPATH' ) || exit;
/*
* @hooked WC_Emails::email_header() Output the email header
*/
do_action( 'woocommerce_email_header', $email_heading, $email );
?>
<a href="<?php echo esc_url( $download_url ); ?>">
<?php echo esc_html( sprintf( __( 'Download your %s Report', 'woocommerce-admin' ), $report_name ) ); ?>
</a>
<?php
/*
* @hooked WC_Emails::email_footer() Output the email footer
*/
do_action( 'woocommerce_email_footer', $email );