Tribe__Tickets__Ticket_Object::is_ticket_cache_enabled()

Determine whether the ticket has ticket cache enabled.


Return

(bool) Whether the ticket has ticket cache enabled.


Top ↑

Source

File: src/Tribe/Ticket_Object.php

		public function is_ticket_cache_enabled() {
			/**
			 * Allow filtering whether the ticket has ticket cache enabled.
			 *
			 * @since 5.1.0
			 *
			 * @param bool $is_cache_enabled  Whether the ticket has ticket cache enabled.
			 * @param int  $ticket_id The ticket ID.
			 */
			return (bool) apply_filters( 'tribe_tickets_ticket_object_is_ticket_cache_enabled', true, $this->ID );
		}

Top ↑

Changelog

Changelog
Version Description
5.1.0 Introduced.