woocommerce_email_order_item_quantity filter-hookWC 1.0

Usage

add_filter( 'woocommerce_email_order_item_quantity', 'wp_kama_woocommerce_email_order_item_quantity_filter', 10, 2 );

/**
 * Function for `woocommerce_email_order_item_quantity` filter-hook.
 * 
 * @param  $qty_display 
 * @param  $item        
 *
 * @return 
 */
function wp_kama_woocommerce_email_order_item_quantity_filter( $qty_display, $item ){

	// filter...
	return $qty_display;
}
$qty_display
-
$item
-

Where the hook is called

In file: /templates/emails/email-order-items.php
woocommerce_email_order_item_quantity
woocommerce/templates/emails/email-order-items.php 82
echo wp_kses_post( apply_filters( 'woocommerce_email_order_item_quantity', $qty_display, $item ) );
woocommerce/templates/emails/plain/email-order-items.php 38
echo ' X ' . apply_filters( 'woocommerce_email_order_item_quantity', $item->get_quantity(), $item );
woocommerce/includes/class-wc-structured-data.php 475
'value' => apply_filters( 'woocommerce_email_order_item_quantity', $item->get_quantity(), $item ),

Where the hook is used in WooCommerce

Usage not found.