Support

Home Forums Event Espresso Premium Add Username to Registration CSV

Add Username to Registration CSV

Posted: April 16, 2017 at 11:58 pm

Viewing 1 reply thread


naddi

April 16, 2017 at 11:58 pm

Hi, I’d like to add a column with usernames to the registrations CSV. How would I go about doing this?


Josh

  • Support Staff

April 17, 2017 at 2:02 pm

Hi there,

You can use a filter hook to add additional rows to the array, which is the
FHEE__EE_Export__report_registrations__reg_csv_array
filter hook.
If you look in Event Espresso’s source, you’ll see that the $reg_row value is passed to the hook, so you should be able to get the user ID, then the username from its relationship to the
$reg_row[ ‘Attendee_CPT.ID’ ] value.

Viewing 1 reply thread

The support post ‘Add Username to Registration CSV’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso