Hi, I have a site using buddypress where registered users can create events using WP User Frontend (https://wordpress.org/plugins/wp-user-frontend/). This creates a post type 'event'. Which WP Event Organiser (http://wp-event-organiser.com/) recognises as an event.
However I need to send the 'event start time' and 'event end time' to this 'event' post type so that WP Event Organiser can recognise it. The event start and end time are required to create tickets (another part of my site.)
I need to create a hook to:
- Retrieve the event (post) ID created by WP User Frontend
- Retrieve the data submitted (in particular the start/end time)
- Call eo_update_event(
$event_id, $event_data ) where $event_id is the event (post) ID and the $event_data is an array which you would generate from the passed data, according to this documentation: http://codex.wp-event-organiser.com/function-eo_update_event.html
I believe you can create hooks via the WP User Frontend (see screenshot) but unsure if this is the best way of doing this.
Please ask anymore questions you need to know, I am able to test code straight away or able to provide FTP details to a chosen developer.
More funds available if needed.
Arnav Joy answers:
I can help you , can you provide me access to your site , also show me the form at front end.
Fahad Murtaza answers:
I can do it. I will send you my contact details in a personal message.
Fahad Murtaza comments:
I got an email notification that you updated some info on this question, though I couldn't make out what. I guess its just the prize money. I sent you a PM that I can help you with this. Let me know if you need my help.
Ross Gosling comments:
Hello Fahad, yes it was prize money, Arnav helped me with this question and all is working now.