WC_Email::get_attachments()
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() WC Email::get attachments code WC 9.8.2
public function get_attachments() { return apply_filters( 'woocommerce_email_attachments', array(), $this->id, $this->object, $this ); }