@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php |
|
1 | + <?php |
|
2 | 2 | /** |
3 | 3 | * Template that generates the subscription active email. |
4 | 4 | * |
@@ -8,15 +8,15 @@ discard block |
||
8 | 8 | * @var WPInv_Subscription $object |
9 | 9 | */ |
10 | 10 | |
11 | -defined( 'ABSPATH' ) || exit; |
|
11 | + defined( 'ABSPATH' ) || exit; |
|
12 | 12 | |
13 | -$invoice = $object->get_parent_payment(); |
|
13 | + $invoice = $object->get_parent_payment(); |
|
14 | 14 | |
15 | -// Print the email header. |
|
16 | -do_action( 'wpinv_email_header', $email_heading, $invoice, $email_type, $sent_to_admin ); |
|
15 | + // Print the email header. |
|
16 | + do_action( 'wpinv_email_header', $email_heading, $invoice, $email_type, $sent_to_admin ); |
|
17 | 17 | |
18 | -// Generate the custom message body. |
|
19 | -echo wp_kses_post( $message_body ); |
|
18 | + // Generate the custom message body. |
|
19 | + echo wp_kses_post( $message_body ); |
|
20 | 20 | |
21 | -// Print the email footer. |
|
22 | -do_action( 'wpinv_email_footer', $invoice, $email_type, $sent_to_admin ); |
|
21 | + // Print the email footer. |
|
22 | + do_action( 'wpinv_email_footer', $invoice, $email_type, $sent_to_admin ); |