Support

Home Forums Event Espresso Premium Customizing Default Registration Status

Customizing Default Registration Status

Posted: July 25, 2017 at 9:27 am


starnet

July 25, 2017 at 9:27 am

Hello,
I am in the Event Espresso plugin. I am currently viewing the events and I have selected the “Default Settings” tab. There is a drop down located there that gives me the status options of:
Approved
Not Approved
Pending Payment

Is there anyway I can change the last option from Pending Payment to just pending?


Josh

  • Support Staff

July 25, 2017 at 1:35 pm

Hi starnet,

Yes this can be done with the WordPress plugin API. You add this code to your website:

add_filter(
  'FHEE__EEM_Status__localized_status__translation_array', 
  'my_custom_rpp_status_labels'
);
function my_custom_rpp_status_labels($translation_array) {
  $translation_array['RPP'] = array(
    'pending', //singular
    'pending' //plural
  );
  return $translation_array;
}

You can add the above to a functions plugin. Click here to learn about how to make a functions plugin.

Please note that this will change the status label from Pending Payment to Pending everywhere on your website, not just on the one options page.


starnet

July 28, 2017 at 8:30 am

Hi Josh,

That worked perfectly! Thank you so much for the help!

The support post ‘Customizing Default Registration Status’ 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