woocommerce_email_title filter-hookWC 1.0

Return the email's title

Usage

add_filter( 'woocommerce_email_title', 'wp_kama_woocommerce_email_title_filter', 10, 2 );

/**
 * Function for `woocommerce_email_title` filter-hook.
 * 
 * @param  $title 
 * @param  $that  
 *
 * @return 
 */
function wp_kama_woocommerce_email_title_filter( $title, $that ){

	// filter...
	return $title;
}
$title
-
$that
-

Where the hook is called

WC_Email::get_title()
woocommerce_email_title
woocommerce/includes/emails/class-wc-email.php 517
return apply_filters( 'woocommerce_email_title', $this->title, $this );

Where the hook is used in WooCommerce

Usage not found.