Skip to content

Instantly share code, notes, and snippets.

@sidharrell
Created January 16, 2014 19:09
Show Gist options
  • Select an option

  • Save sidharrell/8461296 to your computer and use it in GitHub Desktop.

Select an option

Save sidharrell/8461296 to your computer and use it in GitHub Desktop.
edit attendee links on payment overview.php
<tr>
<?php
$attendees = $wpdb->get_results($wpdb->prepare("SELECT registration_id, id, event_id, fname, lname FROM ".EVENTS_ATTENDEE_TABLE." WHERE attendee_session=%s", $attendee_session), OBJECT);
foreach ($attendees as $attendee) {
echo espresso_edit_attendee($attendee->registration_id, $attendee->id, $attendee->event_id, 'attendee', sprintf(__('Edit Registration Details for %s, %s','event_espresso'), $attendee->lname, $attendee->fname)); ?><br/>
<?php } ?>
</tr>
// Not sure why it jumps out of the table to above it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment