|
@@ 724-728 (lines=5) @@
|
| 721 |
|
Give()->emails->__set( 'heading', $this->preview_email_template_tags( $this->get_email_header( $form_id ) ) ); |
| 722 |
|
|
| 723 |
|
// Format plain content type email. |
| 724 |
|
if ( 'text/plain' === $content_type ) { |
| 725 |
|
Give()->emails->__set( 'html', false ); |
| 726 |
|
Give()->emails->__set( 'template', 'none' ); |
| 727 |
|
$message = strip_tags( $message ); |
| 728 |
|
} |
| 729 |
|
|
| 730 |
|
if ( Give_Email_Notification_Util::can_use_form_email_options( $this, $form_id ) ) { |
| 731 |
|
Give()->emails->form_id = $form_id; |
|
@@ 812-816 (lines=5) @@
|
| 809 |
|
// Set email header. |
| 810 |
|
Give()->emails->__set( 'heading', give_do_email_tags( $this->get_email_header( $form_id ), $email_tag_args ) ); |
| 811 |
|
|
| 812 |
|
if ( 'text/plain' === $content_type ) { |
| 813 |
|
Give()->emails->__set( 'html', false ); |
| 814 |
|
Give()->emails->__set( 'template', 'none' ); |
| 815 |
|
$message = strip_tags( $message ); |
| 816 |
|
} |
| 817 |
|
|
| 818 |
|
if ( Give_Email_Notification_Util::can_use_form_email_options( $this, $form_id ) ) { |
| 819 |
|
Give()->emails->form_id = $form_id; |