WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

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

Get email attachments.

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

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

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

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

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 627
apply_filters( 'woocommerce_email_attachments', array(), 'low_stock', $product, null )
woocommerce/includes/class-wc-emails.php 650
apply_filters( 'woocommerce_email_attachments', array(), 'no_stock', $product, null )
woocommerce/includes/class-wc-emails.php 688
apply_filters( 'woocommerce_email_attachments', array(), 'backorder', $args, null )

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

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