Automattic\WooCommerce\Internal\EmailEditor

EmailApiController::get_emailsprotectedWC 1.0

Get all WooCommerce emails.

Method of the class: EmailApiController{}

No Hooks.

Returns

\WC_Email[].

Usage

// protected - for code of main (parent) or child class
$result = $this->get_emails(): array;

EmailApiController::get_emails() code WC 10.8.1

protected function get_emails(): array {
	return WC()->mailer()->get_emails();
}