Is it possible to create a post at the time an event is created and/or edited. I want to use the post to automatically email users with mailpoet plugin. I have added the filter-events-to-posts.php plugin filter to my site and this shows me the event expresso event in the post area but as this is a filter there is not an actual post created. I have looked and it appears there is a setting in EE3 to do this but I do not see something similar in EE4
Here’s a bit more information on why MailPoet is not getting the Events post type. In Mailpoet’s wp_tools.php file, in the get_post_types() method, it’s set up to return an array that meet these specs:
It turns out that Event Espresso’s events post registers show_in_menu and show_ui to false. If Mailpoet can change the specs or add a filter to allow inclusion of additional post types that don’t meet the specs, Event Espresso event posts can be included in the Mailpoet post type list.
Confirmed: Thank you both Josh and Lorenzo. Changing the `’show_in_menu’=>true,
‘show_ui’=>true,` both to false allows mailpoet to select events from event expresso.
You’ll have a better time if MailPoet can add a filter hook to allow the settings to be filtered via a custom function. Otherwise your changes will break on the next update of the MailPoet plugin.
Viewing 4 reply threads
The support post ‘EE4 create post with event’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.