woocommerce_email_enabled_(id) filter-hookWC 1.0

Checks if this email is enabled and will be sent.

Usage

add_filter( 'woocommerce_email_enabled_(id)', 'wp_kama_woocommerce_email_enabled_id_filter', 10, 3 );

/**
 * Function for `woocommerce_email_enabled_(id)` filter-hook.
 * 
 * @param  $string 
 * @param  $object 
 * @param  $that   
 *
 * @return 
 */
function wp_kama_woocommerce_email_enabled_id_filter( $string, $object, $that ){

	// filter...
	return $string;
}
$string
-
$object
-
$that
-

Where the hook is called

WC_Email::is_enabled()
woocommerce_email_enabled_(id)
woocommerce/includes/emails/class-wc-email.php 547
return apply_filters( 'woocommerce_email_enabled_' . $this->id, 'yes' === $this->enabled, $this->object, $this );

Where the hook is used in WooCommerce

Usage not found.