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

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

Get email attachments.

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

add_filter( 'woocommerce_email_attachments', 'filter_function_name_7315', 10, 4 );
function filter_function_name_7315( $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 429
return apply_filters( 'woocommerce_email_attachments', array(), $this->id, $this->object, $this );
woocommerce/includes/class-wc-emails.php 621
apply_filters( 'woocommerce_email_attachments', array(), 'low_stock', $product )
woocommerce/includes/class-wc-emails.php 644
apply_filters( 'woocommerce_email_attachments', array(), 'no_stock', $product )
woocommerce/includes/class-wc-emails.php 682
apply_filters( 'woocommerce_email_attachments', array(), 'backorder', $args )

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

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