@@ 80-86 (lines=7) @@ | ||
77 | * @access public |
|
78 | * @return string |
|
79 | */ |
|
80 | public function get_subject() { |
|
81 | if ( ! empty( $this->object ) && $this->object->has_downloadable_item() ) { |
|
82 | return apply_filters( 'woocommerce_email_subject_customer_completed_order', $this->format_string( $this->subject_downloadable ), $this->object ); |
|
83 | } else { |
|
84 | return apply_filters( 'woocommerce_email_subject_customer_completed_order', $this->format_string( $this->subject ), $this->object ); |
|
85 | } |
|
86 | } |
|
87 | ||
88 | /** |
|
89 | * Get email heading. |
|
@@ 94-100 (lines=7) @@ | ||
91 | * @access public |
|
92 | * @return string |
|
93 | */ |
|
94 | public function get_heading() { |
|
95 | if ( ! empty( $this->object ) && $this->object->has_downloadable_item() ) { |
|
96 | return apply_filters( 'woocommerce_email_heading_customer_completed_order', $this->format_string( $this->heading_downloadable ), $this->object ); |
|
97 | } else { |
|
98 | return apply_filters( 'woocommerce_email_heading_customer_completed_order', $this->format_string( $this->heading ), $this->object ); |
|
99 | } |
|
100 | } |
|
101 | ||
102 | /** |
|
103 | * Get content html. |