tribe_tickets_ticket_in_wc_membership_for_user()

Plugin: Event Tickets

Function: Checks if the specified user (defaults to currently-logged-in user) belongs to any active WooCommerce Membership plans, *and* if the specified ticket (by ticket ID) has any active member discounts applied to it. It may not be the user’s membership plan specifically, so this template tag *may* produce some false positives.