WC_Email::is_enabled()publicWC 1.0

Checks if this email is enabled and will be sent.

Method of the class: WC_Email{}

Hooks from the method

Returns

true|false.

Usage

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

WC_Email::is_enabled() code WC 9.8.5

public function is_enabled() {
	return apply_filters( 'woocommerce_email_enabled_' . $this->id, 'yes' === $this->enabled, $this->object, $this );
}