Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / Classes / WC_Email / WC_Email::is_enabled()

WC_Email::is_enabled()

Checks if this email is enabled and will be sent.

Contents

  • Description
    • Return
    • Source
  • User Contributed Notes

Description #Description


Return #Return

(bool)


Top ↑

Source #Source

File: includes/emails/class-wc-email.php

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

Expand full source code Collapse full source code


Top ↑

User Contributed Notes #User Contributed Notes

You must log in before being able to contribute a note or feedback.

Proudly powered by WordPress