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.
Contents
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.
Source
Changelog
| Version | Description |
|---|---|
| 1.15.6 | Introduced. |