Update path to email template for analytics report
The path was recently changed with the merge of the Admin feature plugin into Core.
This commit is contained in:
parent
1d52eef313
commit
a67c547b8e
|
@ -25,7 +25,7 @@ class ReportCSVEmail extends \WC_Email {
|
|||
*/
|
||||
public function __construct() {
|
||||
$this->id = 'admin_report_export_download';
|
||||
$this->template_base = dirname( __DIR__ ) . '/includes/emails/';
|
||||
$this->template_base = WC()->plugin_path() . '/includes/react-admin/emails/';
|
||||
$this->template_html = 'html-admin-report-export-download.php';
|
||||
$this->template_plain = 'plain-admin-report-export-download.php';
|
||||
$this->report_labels = array(
|
||||
|
|
Loading…
Reference in New Issue