Title: Placeholders ticket
Last modified: August 21, 2016

---

# Placeholders ticket

 *  Resolved [MAXIS322718_m](https://wordpress.org/support/users/maxis322718_m/)
 * (@maxis322718_m)
 * [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/)
 * Hello I would like to learn as it is possible to add the ticket name in an event
   as it would be possible
    Booking Related Placeholders but not for the post message?
   And one more question how to make so that today’s events weren’t displayed in
   the forthcoming?
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/#post-3710774)
 * sorry, can you rephrase ? didn’t get your questions…
 *  Thread Starter [MAXIS322718_m](https://wordpress.org/support/users/maxis322718_m/)
 * (@maxis322718_m)
 * [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/#post-3710873)
 * What are the options to insert the name of reserved tickets to the template format
   individual event by default?
    [](https://www.dropbox.com/s/lnjbzzme3c5mifo/event.jpg)
 *  Thread Starter [MAXIS322718_m](https://wordpress.org/support/users/maxis322718_m/)
 * (@maxis322718_m)
 * [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/#post-3710874)
 * [https://www.dropbox.com/s/lnjbzzme3c5mifo/event.jpg](https://www.dropbox.com/s/lnjbzzme3c5mifo/event.jpg)
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/#post-3710960)
 * try placeholder #_BOOKINGTICKETS
 * For more placeholder – [http://wp-events-plugin.com/documentation/placeholders/](http://wp-events-plugin.com/documentation/placeholders/)
 *  Thread Starter [MAXIS322718_m](https://wordpress.org/support/users/maxis322718_m/)
 * (@maxis322718_m)
 * [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/#post-3710962)
 * placeholder #_BOOKINGTICKETS does not work because it is for e-mail messages 
   must be some other way?
 *  Thread Starter [MAXIS322718_m](https://wordpress.org/support/users/maxis322718_m/)
 * (@maxis322718_m)
 * [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/#post-3710970)
 * 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?
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/#post-3710977)
 * maybe this can help or give you an idea – [http://wordpress.org/support/topic/attendee-list-wuser-display-name-and-ticket-name?replies=3](http://wordpress.org/support/topic/attendee-list-wuser-display-name-and-ticket-name?replies=3)
 *  Thread Starter [MAXIS322718_m](https://wordpress.org/support/users/maxis322718_m/)
 * (@maxis322718_m)
 * [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/#post-3711062)
 * 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?
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/#post-3711087)
 * Probabl you want to get the array e.g.
 * $EM_Booking->get_tickets()->tickets
 * which is an array of EM_Ticket objects.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Placeholders ticket’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/placeholders-ticket/#post-3711087)
 * Status: resolved