woocommerce_email_heading_(id) filter-hookWC 1.0

Get email heading.

Usage

add_filter( 'woocommerce_email_heading_(id)', 'wp_kama_woocommerce_email_heading_id_filter', 10, 3 );

/**
 * Function for `woocommerce_email_heading_(id)` filter-hook.
 * 
 * @param  $format_string 
 * @param  $object        
 * @param  $that          
 *
 * @return 
 */
function wp_kama_woocommerce_email_heading_id_filter( $format_string, $object, $that ){

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

Where the hook is called

WC_Email::get_heading()
woocommerce_email_heading_(id)
woocommerce/includes/emails/class-wc-email.php 437
return apply_filters( 'woocommerce_email_heading_' . $this->id, $this->format_string( $this->get_option( 'heading', $this->get_default_heading() ) ), $this->object, $this );

Where the hook is used in WooCommerce

Usage not found.