apply_filters( 'tec_events_virtual_user_has_ticket', boolean $has_ticket, WP_Post $event, int $user_id )

Filter whether the user has a ticket for the event.


Parameters

$has_ticket

(boolean) Whether the current user has a ticket for the event.

$event

(WP_Post) The post object or ID of the viewed event.

$user_id

(int) ID of the current user.


Top ↑

Source

File: src/Tribe/Compatibility/Event_Tickets/Event_Meta.php


Top ↑

Changelog

Changelog
Version Description
1.15.6 Introduced.