WordPress at Your Fingertips
function is not described

WooCommerce::mailer() public WC 1.0

Email Class.

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

No Hooks.

Return

WC_Emails.

Usage

$WooCommerce = new WooCommerce();
$WooCommerce->mailer();

Code of WooCommerce::mailer() WC 5.6.0

public function mailer() {
	return WC_Emails::instance();
}