Support

Home Forums Event Espresso Premium Ordering Attendees List

Ordering Attendees List

Posted: February 6, 2018 at 2:26 pm


mjpaynter

February 6, 2018 at 2:26 pm

Looking for how to use this filter hook:

FHEE__EES_Espresso_Event_Attendees__process_shortcode__order_by

This thread makes mention of it but doesn’t expand on how to use it. https://eventespresso.com/topic/frontend-attendee-list-sorting/

I have customized both the content-espresso_event_attendees.php and loop-espresso_event_attendees.php successfully, but I need to order the list by last name.

Many thanks 🙂


Tony

  • Support Staff

February 7, 2018 at 5:14 am

Hi there,

You’ll need something like this:

https://gist.github.com/Pebblo/d663a5e91f4f061f669ab9cf8e2d0dd7

Add that to a Custom Functions Plugin on your site.

That will order by last name ASC.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 weeks, 1 day ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!