Support

Home Forums WP User Integration wp user intgeration order ticket by date

wp user intgeration order ticket by date

Posted: June 7, 2018 at 10:28 am


Mrakor

June 7, 2018 at 10:28 am

hi there, iam using the shortcode [ESPRESSO_MY_EVENTS], with your custom code to sort all sub registrations for tickets {simple_list_table}

but it seem that it sort tickets by the old tickets, i need it to sort it by the new Tickets, so the user can find his new tickets easily without scroll to down


Josh

  • Support Staff

June 7, 2018 at 12:03 pm

Hi Mrakor,

You’ll find an example of some custom code here:

https://gist.github.com/joshfeck/3062a539f703b30ae4b70697c2e7aa49#file-loop-espresso_my_events-event_section-template-php-L40

Note that the usort() function within the custom code example will sort by the event’s start date.

The support post ‘wp user intgeration order ticket by date’ 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