WC_Email_Cancelled_Order::get_content_plain()
Get content plain.
Метод класса: WC_Email_Cancelled_Order{}
Хуков нет.
Возвращает
Строку
.
Использование
$WC_Email_Cancelled_Order = new WC_Email_Cancelled_Order(); $WC_Email_Cancelled_Order->get_content_plain();
Код WC_Email_Cancelled_Order::get_content_plain() WC Email Cancelled Order::get content plain WC 9.4.2
public function get_content_plain() { return wc_get_template_html( $this->template_plain, array( 'order' => $this->object, 'email_heading' => $this->get_heading(), 'additional_content' => $this->get_additional_content(), 'sent_to_admin' => true, 'plain_text' => true, 'email' => $this, ) ); }