WordPress at Your Fingertips
function is not described

WC_Email::is_enabled() public WC 1.0

Checks if this email is enabled and will be sent.

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

Hooks from the method

Return

true|false.

Usage

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

Code of WC_Email::is_enabled() WC 5.9.0

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