Horje
Create Hook from WP User Frontend to WP Event Organiser - Wordpress Solution
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. Thanks

Solution - 1

Hello Ross, I can help you , can you provide me access to your site , also show me the form at front end. -Arnav


Solution - 2

Hi Ross I can do it. I will send you my contact details in a personal message.





Wordpress

Related
Css selector idea, using both pseudo class & element - Wordpress Solution Css selector idea, using both pseudo class & element - Wordpress Solution
Display Post Meta attached to one page, on every page. - Wordpress Solution Display Post Meta attached to one page, on every page. - Wordpress Solution
Need some help getting a Jquery library to work - Wordpress Solution Need some help getting a Jquery library to work - Wordpress Solution
BBpress topic freshness function in wp_query. - Wordpress Solution BBpress topic freshness function in wp_query. - Wordpress Solution
List all posts with 2 terms of a taxonomy - Wordpress Solution List all posts with 2 terms of a taxonomy - Wordpress Solution

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7