WC_Email::is_enabled
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() WC Email::is enabled code WC 10.8.1
public function is_enabled() {
return apply_filters( 'woocommerce_email_enabled_' . $this->id, 'yes' === $this->enabled, $this->object, $this );
}