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

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

add_filter( 'woocommerce_email_heading_customer_invoice', 'wp_kama_woocommerce_email_heading_customer_invoice_filter', 10, 3 );

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

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

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

WC_Email_Customer_Invoice::get_heading()
woocommerce_email_heading_customer_invoice
woocommerce/includes/emails/class-wc-email-customer-invoice.php 105
return apply_filters( 'woocommerce_email_heading_customer_invoice', $this->format_string( $heading ), $this->object, $this );

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

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