Tribe__Tickets_Plus__Commerce__WooCommerce__Email::get_attachments()

Gets an array of attachments (each item to be a full path file name) to attach to the email.

Contents


Return

(array)


Top ↑

Source

File: src/Tribe/Commerce/WooCommerce/Email.php

	public function get_attachments() {
		/**
		 * Filters the array of files to be attached to the WooCommmerce Ticket
		 * email.
		 *
		 * Example use case is the PDF Tickets extension.
		 *
		 * @param array  $attachments  An array of full path file names.
		 * @param int    $this->id     The email method ID.
		 * @param object $this->object Object this email is for, for example a
		 *                             customer, product, or email.
		 */
		return apply_filters( 'tribe_tickets_plus_woo_email_attachments', array(), $this->id, $this->object );
	}