sorry, can you rephrase ? didn’t get your questions…
What are the options to insert the name of reserved tickets to the template format individual event by default?
try placeholder #_BOOKINGTICKETS
For more placeholder – http://wp-events-plugin.com/documentation/placeholders/
placeholder #_BOOKINGTICKETS does not work because it is for e-mail messages must be some other way?
you can do like that with the help of this function do?
$EM_Ticket_Booking->get_ticket()->name;
But I’m not a programmer someone tell me how?
Looking at the idea of the other posts something that happened but not quite. At me it turns out that when you insert a $EM_Ticket->ticket_name here `$people = array();
$EM_Bookings = $EM_Event->get_bookings();
if( count($EM_Bookings->bookings) > 0 ){
?>
<ul class=”event-attendees”>
<?php
foreach( $EM_Bookings as $EM_Booking){
if($EM_Booking->status == 1 && !in_array($EM_Booking->get_person()->ID, $people) ){
$people[] = $EM_Booking->get_person()->ID;
echo ‘<li>’. get_avatar($EM_Booking->get_person()->ID, 50).$EM_Booking->get_person()->display_name.$EM_Ticket->ticket_name.'</li>’;
}
}
?>
</ul>
<?php
}`
It works but it is not as we would like. It turns out that when ordering tickets he always shows the last ticket deleting the предыдущие.Есть there a way that you could show the names of many tickets but only after the confirmation of the avatar in the file attendees.php for example?
Probabl you want to get the array e.g.
$EM_Booking->get_tickets()->tickets
which is an array of EM_Ticket objects.