woocommerce_email_description хук-фильтрWC 1.0

Return the email's description

Использование

add_filter( 'woocommerce_email_description', 'wp_kama_woocommerce_email_description_filter', 10, 2 );

/**
 * Function for `woocommerce_email_description` filter-hook.
 * 
 * @param  $description 
 * @param  $that        
 *
 * @return 
 */
function wp_kama_woocommerce_email_description_filter( $description, $that ){

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

Где вызывается хук

WC_Email::get_description()
woocommerce_email_description
woocommerce/includes/emails/class-wc-email.php 512
return apply_filters( 'woocommerce_email_description', $this->description, $this );

Где используется хук в WooCommerce

Использование не найдено.