|
@@ 98-104 (lines=7) @@
|
| 95 |
|
* @access public |
| 96 |
|
* @return string |
| 97 |
|
*/ |
| 98 |
|
public function get_subject() { |
| 99 |
|
if ( $this->object->has_status( array( 'processing', 'completed' ) ) ) { |
| 100 |
|
return apply_filters( 'woocommerce_email_subject_customer_invoice_paid', $this->format_string( $this->subject_paid ), $this->object ); |
| 101 |
|
} else { |
| 102 |
|
return apply_filters( 'woocommerce_email_subject_customer_invoice', $this->format_string( $this->subject ), $this->object ); |
| 103 |
|
} |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
/** |
| 107 |
|
* Get email heading. |
|
@@ 112-118 (lines=7) @@
|
| 109 |
|
* @access public |
| 110 |
|
* @return string |
| 111 |
|
*/ |
| 112 |
|
public function get_heading() { |
| 113 |
|
if ( $this->object->has_status( array( 'completed', 'processing' ) ) ) { |
| 114 |
|
return apply_filters( 'woocommerce_email_heading_customer_invoice_paid', $this->format_string( $this->heading_paid ), $this->object ); |
| 115 |
|
} else { |
| 116 |
|
return apply_filters( 'woocommerce_email_heading_customer_invoice', $this->format_string( $this->heading ), $this->object ); |
| 117 |
|
} |
| 118 |
|
} |
| 119 |
|
|
| 120 |
|
/** |
| 121 |
|
* Get content html. |