|
@@ 711-715 (lines=5) @@
|
| 708 |
|
Give()->emails->__set( 'heading', $this->preview_email_template_tags( $this->get_email_header( $form_id ) ) ); |
| 709 |
|
|
| 710 |
|
// Format plain content type email. |
| 711 |
|
if ( 'text/plain' === $content_type ) { |
| 712 |
|
Give()->emails->__set( 'html', false ); |
| 713 |
|
Give()->emails->__set( 'template', 'none' ); |
| 714 |
|
$message = strip_tags( $message ); |
| 715 |
|
} |
| 716 |
|
|
| 717 |
|
if ( Give_Email_Notification_Util::can_use_form_email_options( $this, $form_id ) ) { |
| 718 |
|
Give()->emails->form_id = $form_id; |
|
@@ 788-792 (lines=5) @@
|
| 785 |
|
// Set email header. |
| 786 |
|
Give()->emails->__set( 'heading', give_do_email_tags( $this->get_email_header( $form_id ), $email_tag_args ) ); |
| 787 |
|
|
| 788 |
|
if ( 'text/plain' === $content_type ) { |
| 789 |
|
Give()->emails->__set( 'html', false ); |
| 790 |
|
Give()->emails->__set( 'template', 'none' ); |
| 791 |
|
$message = strip_tags( $message ); |
| 792 |
|
} |
| 793 |
|
|
| 794 |
|
if ( Give_Email_Notification_Util::can_use_form_email_options( $this, $form_id ) ) { |
| 795 |
|
Give()->emails->form_id = $form_id; |