Events Manager
[resolved] Show Attendees with additional data (3 posts)

  1. CAJensen01
    Posted 3 years ago #


    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.]

  2. agelonwl
    Posted 3 years ago #

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #


    returns an EM_Person object, which is basically an extension of the WP_User object so you could grab user meta using normal WP methods - http://codex.wordpress.org/Class_Reference/WP_User

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic