Tribe__Tickets__Tickets::do_not_show_tickets_unavailable_message( null $post_id = null )

Indicates that, from an individual ticket provider’s perspective, the event does have some currently available tickets and so the “tickets unavailable” message should probably not be displayed.


Parameters

$post_id

(null) (Optional)

Default value: null


Top ↑

Source

File: src/Tribe/Tickets.php

		public function do_not_show_tickets_unavailable_message( $post_id = null ) {
			if ( null === $post_id ) {
				$post_id = get_the_ID();
			}

			self::$posts_with_available_tickets[] = (int) $post_id;
		}