do_action( 'tribe_tickets_expired_front_end_ticket_form', boolean $must_login, array $tickets )

Allow to hook into the FE form of the tickets if tickets has already expired. If the action used the second value for tickets make sure to use a callback instead of an inline call to the method such as:

Example:

add_action( ‘tribe_tickets_expired_front_end_ticket_form’, function( $must_login, $tickets ) { Tribe__Tickets_Plus__Attendees_List::instance()->render(); }, 10, 2 );

If the tickets are not required to be used on the view you an use instead.

add_action( ‘tribe_tickets_expired_front_end_ticket_form’, array( Tribe__Tickets_Plus__Attendees_List::instance(), ‘render’ ) );


Parameters

$must_login

(boolean)

$tickets

(array)


Top ↑

Source

File: src/Tribe/Commerce/EDD/Main.php


Top ↑

Changelog

Changelog
Version Description
4.7.3 Introduced.