WC_Email::is_enabled()
Checks if this email is enabled and will be sent.
Method of the class: WC_Email{}
Hooks from the method
Return
true|false
.
Usage
$WC_Email = new WC_Email(); $WC_Email->is_enabled();
WC_Email::is_enabled() WC Email::is enabled code WC 8.6.1
public function is_enabled() { return apply_filters( 'woocommerce_email_enabled_' . $this->id, 'yes' === $this->enabled, $this->object, $this ); }