woocommerce_email_fulfillment_items_args filter-hookWC 10.1.0

Filter to modify the arguments for the email fulfillment items.

Usage

add_filter( 'woocommerce_email_fulfillment_items_args', 'wp_kama_woocommerce_email_fulfillment_items_args_filter' );

/**
 * Function for `woocommerce_email_fulfillment_items_args` filter-hook.
 * 
 * @param array $args The arguments for the email fulfillment items.
 *
 * @return array
 */
function wp_kama_woocommerce_email_fulfillment_items_args_filter( $args ){

	// filter...
	return $args;
}
$args(array)
The arguments for the email fulfillment items.

Changelog

Since 10.1.0 Introduced.

Where the hook is called

wc_get_email_fulfillment_items()
woocommerce_email_fulfillment_items_args
woocommerce/includes/wc-template-functions.php 3898-3912
apply_filters(
	'woocommerce_email_fulfillment_items_args',
	array(
		'order'               => $order,
		'fulfillment'         => $fulfillment,
		'items'               => $order_items_filtered,
		'show_download_links' => $order->is_download_permitted() && ! $args['sent_to_admin'],
		'show_sku'            => $args['show_sku'],
		'show_purchase_note'  => $order->is_paid() && ! $args['sent_to_admin'],
		'show_image'          => $args['show_image'],
		'image_size'          => $args['image_size'],
		'plain_text'          => $args['plain_text'],
		'sent_to_admin'       => $args['sent_to_admin'],
	)
)

Where the hook is used in WooCommerce

Usage not found.