• Resolved thedanhealy

    (@thedanhealy)


    I’d like to learn about what hooks exist when an event is published. It would be most helpful for me to see the full list of hooks. Is there a way to get that through the web? Or else what could I search in the code base?

    I have a function that I want to run whenever an event is published. I just don’t know what hook it is.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @thedanhealy,

    Thank you for reaching out! We’d be happy to help you with your question about event publishing hooks.

    To get a list of all the hooks related to event publishing, you can refer to our developer documentation on hooks here: https://docs.theeventscalendar.com/reference/hooks/.

    You can also search the codebase for specific hooks related to event publishing by using a code editor with a search function, such as Sublime Text or Atom. In the codebase, look for files related to event publishing, such as those in the “tribe-events” folder.

    If you have a specific function that you want to run when an event is published, you can use the “tribe_events_event_published” hook. This hook is called after an event is published and can be used to run custom code.

    Please note that while we’re happy to help with questions related to The Events Calendar, as a free version user, support is limited to basic troubleshooting and guidance. For more complex issues or custom development, we recommend consulting with a developer or upgrading to the PRO version of The Events Calendar.

    Let us know if you have any further questions or concerns.

    Best regards.

    • This reply was modified 1 year, 11 months ago by Cheska.
    Plugin Support Darian

    (@d0153)

    Hi @thedanhealy

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hooks for publishing events and more’ is closed to new replies.