WC_Email::get_attachments()publicWC 1.0

Get email attachments.

Method of the class: WC_Email{}

Hooks from the method

Return

Array.

Usage

$WC_Email = new WC_Email();
$WC_Email->get_attachments();

WC_Email::get_attachments() code WC 8.9.0

public function get_attachments() {
	return apply_filters( 'woocommerce_email_attachments', array(), $this->id, $this->object, $this );
}