Support

Home Forums Event Espresso Premium Editing Registration Code Format on EE4

Editing Registration Code Format on EE4

Posted: November 12, 2014 at 2:15 pm


Charlie Douglass

November 12, 2014 at 2:15 pm

I have a customer who requires the event registration code to be a little friendlier… Simply 00001, 00002 etc.

I am looking into amending EE_Registration.class.php

But can’t really figure out how to change the filters to get this to work. – I have looked at another forum topic regarding this but feel it is more relevant for EE3?

Could you let me know what code to add in order to change the reg code to reflect the format provided above?


Dean

November 13, 2014 at 3:48 am

Hi,

This is one way that it can be done, though it may not be the best way to do it: http://pastebin.com/VQ1YtbEf

That code can be added via your themes functions.php or a site specific plugin https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

The support post ‘Editing Registration Code Format on EE4’ 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