Support

Home Forums Community Forum Modify attendee information on submission

Modify attendee information on submission

Posted: March 26, 2020 at 7:15 pm


preflight

March 26, 2020 at 7:15 pm

I would like to strip certain characters from attendee information on frontend registrant submission.

I see there is a AHEE__EE_Single_Page_Checkout__process_attendee_information__end action, but this runs after the information has been saved, I would like to modify some of the data prior to being saved.


Josh

  • Support Staff

March 27, 2020 at 2:26 pm

Hi,

You could use the
FHEE__EE_Single_Page_Checkout__process_attendee_information__valid_data_line_item filter hook.

e.g.

add_filter(
    'FHEE__EE_Single_Page_Checkout__process_attendee_information__valid_data_line_item',
    function($data) {
        // loop/iterate through the $data array and strip characters where applicable
        return $data;
    }
);


preflight

March 27, 2020 at 4:27 pm

Much Thanx. Works perfectly.

The support post ‘Modify attendee information on submission’ 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.

If you would like help from the Event Espresso staff, then please purchase a support license right now so you can create a support topic in our premium support forums.

Status: closed

Updated by  preflight 3 months, 2 weeks ago ago

Topic Tags

Notifications

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