Tribe__Tickets_Plus__Commerce__WooCommerce__Email::get_content_html()

Retrieve the full HTML for the tickets email


Return

(string)


Top ↑

Source

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

	public function get_content_html() {

		$wootickets = Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance();

		$attendees = method_exists( $this->object, 'get_id' )
			? $wootickets->get_attendees_by_id( $this->object->get_id() ) // WC 3.x
			: $wootickets->get_attendees_by_id( $this->object->id ); // WC 2.x

		return $wootickets->generate_tickets_email_content( $attendees );
	}

Top ↑

Changelog

Changelog
Version Description
5.9.1 Introduced.