WordPress at Your Fingertips
function is not described

WC_Email::get_content() public WC 1.0

Get email content.

{} It's a method of the class: WC_Email{}

No Hooks.

Return

String.

Usage

$WC_Email = new WC_Email();
$WC_Email->get_content();

Code of WC_Email::get_content() WC 5.9.0

public function get_content() {
	$this->sending = true;

	if ( 'plain' === $this->get_email_type() ) {
		$email_content = wordwrap( preg_replace( $this->plain_search, $this->plain_replace, wp_strip_all_tags( $this->get_content_plain() ) ), 70 );
	} else {
		$email_content = $this->get_content_html();
	}

	return $email_content;
}