Automattic\WooCommerce\Internal\Admin\Notes
EmailNotification::get_content_plain()
Get content plain.
Method of the class: EmailNotification{}
No Hooks.
Return
String
.
Usage
$EmailNotification = new EmailNotification(); $EmailNotification->get_content_plain();
EmailNotification::get_content_plain() EmailNotification::get content plain code WC 9.3.3
public function get_content_plain() { return wc_get_template_html( $this->get_template_filename( 'plain' ), array( 'email_heading' => $this->format_string( $this->get_heading() ), 'email_content' => $this->format_string( $this->get_note_content() ), 'email_actions' => $this->get_actions(), 'sent_to_admin' => true, 'plain_text' => true, 'email' => $this, 'trigger_note_action_url' => $this->trigger_note_action_url, ), '', $this->template_base ); }