WC_Email_Order_Withdrawal_Requested::get_content_plain
Get content plain.
Метод класса: WC_Email_Order_Withdrawal_Requested{}
Хуков нет.
Возвращает
string.
Использование
$WC_Email_Order_Withdrawal_Requested = new WC_Email_Order_Withdrawal_Requested(); $WC_Email_Order_Withdrawal_Requested->get_content_plain();
Код WC_Email_Order_Withdrawal_Requested::get_content_plain() WC Email Order Withdrawal Requested::get content plain WC 11.2.2
public function get_content_plain() {
return wc_get_template_html(
$this->template_plain,
array(
'email_heading' => $this->get_heading(),
'additional_content' => $this->get_additional_content(),
'withdrawal_data' => $this->withdrawal_data,
'detail_rows' => $this->formatter->get_detail_rows( $this->withdrawal_data, $this->submitted_at ),
'matched_order' => $this->matched_order,
'outside_withdrawal_window' => $this->outside_withdrawal_window,
'withdrawal_window_warning' => $this->withdrawal_window_warning,
'sent_to_admin' => true,
'plain_text' => true,
'email' => $this,
)
);
}