WordPress at Your Fingertips
function is not described

WC_Email::get_attachments() public WC 1.0

Get email attachments.

{} It's a method of the class: WC_Email{}

Hooks from the method

Return

Array.

Usage

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

Code of WC_Email::get_attachments() WC 5.9.0

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