Tribe__Tickets__Commerce__PayPal__Attendance_Totals::get_total_sold()

The total number of tickets sold for this event.


Return

(int)


Top ↑

Source

File: src/Tribe/Commerce/PayPal/Attendance_Totals.php

	public function get_total_sold() {
		/**
		 * Returns the total tickets sold for an event.
		 *
		 * @since 4.7
		 *
		 * @param int $total_sold
		 * @param int $original_total_sold
		 * @param int $event_id
		 */
		return (int) apply_filters( 'tribe_tickets_get_total_sold', $this->total_sold, $this->total_sold, $this->event_id );
	}

Top ↑

Changelog

Changelog
Version Description
4.7 Introduced.