Support

Home Forums Community Forum EE4 Hook When Venue is Saved

EE4 Hook When Venue is Saved

Posted: September 21, 2015 at 12:24 pm

Viewing 1 reply thread


David Lorimer

September 21, 2015 at 12:24 pm

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!


Josh

  • Support Staff

December 15, 2015 at 2:34 pm

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.

Event Espresso