Title: When does em_event_save hook fire?
Last modified: September 2, 2016

---

# When does em_event_save hook fire?

 *  Resolved [kookookjew](https://wordpress.org/support/users/kookookjew/)
 * (@kookookjew)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/when-does-em_event_save-hook-fire/)
 * Does the em_event_save hook only fire when a user submits an event on the frontend
   form? does it happen when you add an event via the admin dashboard?
 * thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/when-does-em_event_save-hook-fire/#post-8138125)
 * you can use is_admin() – [https://codex.wordpress.org/Function_Reference/is_admin](https://codex.wordpress.org/Function_Reference/is_admin)
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/when-does-em_event_save-hook-fire/#post-8154488)
 * em_event_save is fired only on the front end. If you want a hook fired any time
   an event is saved on either side, use em_event_save_meta
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/when-does-em_event_save-hook-fire/#post-8154688)
 * actually, I’m wrong… sorry! It’s used on both front end and backend, whenever
   an event is saved.
 * $EM_Event->save() is used exclusively on the front-end, but the actual filter
   is triggered elsewhere in the admin dashboard.
 *  Thread Starter [kookookjew](https://wordpress.org/support/users/kookookjew/)
 * (@kookookjew)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/when-does-em_event_save-hook-fire/#post-8157655)
 * thanks, do you have an example to how to hook into the em_event_save… something
   like this?
 *     ```
       add_filter(em_event_save', 'updateEvent')
   
       function updateEvent {
       //do something
   
       }
       ```
   
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/when-does-em_event_save-hook-fire/#post-8163514)
 * yes, look in em-emails.php
 * there’s one function and it hooks into that filter.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘When does em_event_save hook fire?’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 5 replies
 * 3 participants
 * Last reply from: [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/when-does-em_event_save-hook-fire/#post-8163514)
 * Status: resolved