html-admin-report-export-download.php
4 years ago
plain-admin-report-export-download.php
4 years ago
plain-admin-report-export-download.php
20 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin report export download email (plain text) |
| 4 | * |
| 5 | * @package WooCommerce\Admin\Templates\Emails\HTML |
| 6 | */ |
| 7 | |
| 8 | defined( 'ABSPATH' ) || exit; |
| 9 | |
| 10 | echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"; |
| 11 | echo esc_html( wp_strip_all_tags( $email_heading ) ); |
| 12 | echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n"; |
| 13 | |
| 14 | /* translators: %1$s: report name, %2$s: download URL */ |
| 15 | echo wp_kses_post( sprintf( __( 'Download your %1$s Report: %2$s', 'woocommerce' ), $report_name, $download_url ) ); |
| 16 | |
| 17 | echo "\n\n----------------------------------------\n\n"; |
| 18 | |
| 19 | echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) ); |
| 20 |