Automattic\WooCommerce\Internal\EmailEditor
WooContentProcessor::capture_woo_content
Capture the WooCommerce content excluding headers and footers.
Method of the class: WooContentProcessor{}
No Hooks.
Returns
String.
Usage
// private - for code of main (parent) class only $result = $this->capture_woo_content( $wc_email ): string;
- $wc_email(WC_Email) (required)
- WooCommerce email.
WooContentProcessor::capture_woo_content() WooContentProcessor::capture woo content code WC 10.3.6
private function capture_woo_content( \WC_Email $wc_email ): string {
return $wc_email->get_block_editor_email_template_content();
}