Posted: November 18, 2014 at 12:29 am
|
espresso_create_wp_user action_hook_espresso_save_attendee_data is not working for EE4, can you guide me which hook will be used for save wp user creation. |
|
Hi, That action hook does not exist in EE4. AHEE__EE_Single_Page_Checkout__process_attendee_information__end might be a better choice, though it might be a little early for you (it fires when the person fills out the form and clicks the proceed to payment options button). The code is found in and has two variables, do_action( ‘AHEE__EE_Single_Page_Checkout__process_attendee_information__end’, $this, $valid_data ); |
|
Thanks for the help, its working. |
|
One More thing i want to ask you is that, I want to add one option while creating an event beneath the “event registration option”, actually I want to add a check box option and check box value will be saved in database, can you guide me the best option ,that how can i easily perform this job. |
|
Hi, Well you could create a Post Meta Box and have the data save to the post meta – http://codex.wordpress.org/Function_Reference/add_meta_box Event Espresso’s event post type is called espresso_events |
|
Great,Its working. |
|
This took a while to figure out, and much gratitude should go to my colleague Tony for this.
That obviously just echoes it all out so you need to modify it and that data should be available throughout the checkout process. |
The support post ‘espresso_create_wp_user for 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.