In the Events Manager plug-in, you can show an attendees list using the placeholder:
I’d like to either modify this placeholder or add my own to display some information from different fields in addition to the person’s name..
I’ve found I need to modify the attendeeslist.php file in placeholders, but I’m at a loss for how to add in another value, such as the fax number.
echo ' <li>'. $EM_Booking->get_person()->get_name() .'</li> ';
Should I be adding something like.. `echo ‘
<li>’. $EM_Booking->get_person()-><strong>get_fax()</strong> .'</li>
‘;` Where does the “get_fax()” reference?
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]
- The topic ‘Show Attendees with additional data’ is closed to new replies.