2019-09-26 20:38:32 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Admin report export download
|
|
|
|
*
|
2020-08-11 19:18:47 +00:00
|
|
|
* @package WooCommerce\Admin\Templates\Emails\HTML
|
2019-09-26 20:38:32 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
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 ); ?>">
|
2020-08-11 19:18:47 +00:00
|
|
|
<?php
|
|
|
|
/* translators: %s: report name */
|
|
|
|
echo esc_html( sprintf( __( 'Download your %s Report', 'woocommerce-admin' ), $report_name ) );
|
|
|
|
?>
|
2019-09-26 20:38:32 +00:00
|
|
|
</a>
|
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* @hooked WC_Emails::email_footer() Output the email footer
|
|
|
|
*/
|
|
|
|
do_action( 'woocommerce_email_footer', $email );
|