Is there a hook for when a venue is saved/updated?
I’m wanting to add geolocation to the venues (lat+lon fields) so they can be searched by distance. So I want to look up the coords of a venue address whenever it is saved (and save them to the db). But I can’t find a list of hooks for EE4. Do you know if there is a hook there, and what it is?
Btw, lat/lon fields on the venue_meta would be an awesome addition to this plugin!
You should be able to use the WordPress save_post action hook since venues are a custom post type.
Viewing 1 reply thread
The support post ‘EE4 Hook When Venue is Saved’ 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.