Support

Home Forums Event Espresso Premium Custom Registration ID (4)

Custom Registration ID (4)

Posted: March 1, 2020 at 2:34 pm

Viewing 2 reply threads


koopmanw

March 1, 2020 at 2:34 pm

Creating custom registration IDs

  • This topic was modified 4 years, 7 months ago by Garth.


koopmanw

March 1, 2020 at 2:36 pm

Hi
You assisted me to create a custom registration ID last year and it worked well, thanks. (See https://eventespresso.com/topic/custom-registration-id-3/).
Please can you help me reset the incremental counter back to 000?
I tried finding the field in the database but can’t seem to do so.


Tony

  • Support Staff

March 2, 2020 at 4:39 am

That value is stored in a site option using this code:

$unique_incr_num = get_option( 'my_current_reg_id' );

So you need to remove the option:

delete_option( 'my_current_reg_id' );

You only need to run that once and there are lots of ways to do that, for example, add it to your theme functions.php file and fresh the home page, then remove it again. The option will have been removed and on the next registration, that function from your other thread will recreate it, starting from 1 again.

Viewing 2 reply threads

The support post ‘Custom Registration ID (4)’ 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