WordPress at Your Fingertips
filter is not described

woocommerce_email_attachments filter-hook . WC 1.0

Get email attachments.

Usage

add_filter( 'woocommerce_email_attachments', 'filter_function_name_2685', 10, 4 );
function filter_function_name_2685( $array, $id, $object, $that ){
	// filter...

	return $array;
}
$array
-
$id
-
$object
-
$that
-

Where the hook is called

WC_Email::get_attachments()
woocommerce_email_attachments
WC_Emails::low_stock()
woocommerce_email_attachments
WC_Emails::no_stock()
woocommerce_email_attachments
WC_Emails::backorder()
woocommerce_email_attachments
woocommerce/includes/emails/class-wc-email.php 430
return apply_filters( 'woocommerce_email_attachments', array(), $this->id, $this->object, $this );
woocommerce/includes/class-wc-emails.php 638
apply_filters( 'woocommerce_email_attachments', array(), 'low_stock', $product, null )
woocommerce/includes/class-wc-emails.php 672
apply_filters( 'woocommerce_email_attachments', array(), 'no_stock', $product, null )
woocommerce/includes/class-wc-emails.php 710
apply_filters( 'woocommerce_email_attachments', array(), 'backorder', $args, null )

Where in WP core the hook is used WooCommerce

Usage not found.