Execute some PHP on event publish Post date Home › Forums › Calendar Products › Community Events › Execute some PHP on event publish This topic has 3 replies, 4 voices, and was last updated 10 years ago by DEMETRIO BERNAL. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts June 16, 2016 at 1:46 am #1127760 DEMETRIO BERNALParticipant Hello, wrote this issue because not find any example of how to run my PHP code (to send a notification to the mobile phone), when a new event is published. I tried to add some ‘hook’ but I could not find anything that runs only when published … I hope you can help me. Thank you, Miguel PĂ©rez. June 16, 2016 at 5:16 am #1127803 NicoMember Hola Miguel, como estas? Gracias por ponerte en contacto con nosotros 🙂 Hay dos acciones que podes usar para este fin: tribe_events_event_save (params: $event_id) y tribe_events_update_meta (params: $event_id, $data ). Básicamente usando add_action podes agregar el cĂłdigo para enviar las notificaciones. Si necesitas algo más o tenes dudas avisame! Saludos, Nico July 1, 2016 at 9:35 am #1134497 Support DroidKeymaster This topic has not been active for quite some time and will now be closed. If you still need assistance please simply open a new topic (linking to this one if necessary) and one of the team will be only too happy to help. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The topic ‘Execute some PHP on event publish’ is closed to new replies. → Please verify your API key is correctly entered on the settings