Support » Plugin: The Events Calendar » Mising `develop` branch?

  • Resolved TheWebist

    (@thewebist)


    Over on Github, I was wanting to submit a pull request for The Events Calendar repo. The README.md instructs me to fork develop; however, no develop branch exists in the repo.

    In the meantime, I’m looking to filter the returned data provided by Tribe__Events__REST__V1__Endpoints__Single_Event::get() inside src/Tribe/REST/V1/Endpoints/Single_Event.php; however, no filter exists. On the other hand, there is just such a filter for Tribe__Events__REST__V1__Endpoints__Archive_Event::get().

    Am I missing something? I’d like to be able to add some additional data returned from a request to /wp-json/tribe/events/v1/events/[eventId].

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Barry

    (@barryhughes-1)

    Sorry for the delay in responding.

    The README.md instructs me to fork develop; however, no develop branch exists in the repo.

    You’re right, develop no longer exists. Instead, please submit your pull request against master and one of the team will update it if needed from there.

    Iā€™d like to be able to add some additional data returned from a request to /wp-json/tribe/events/v1/events/[eventId]

    We have the tribe_rest_single_event_data hook … would that fit your needs (it was only added recently)?

    @barryhughes-1 – you wrote:

    We have the tribe_rest_single_event_data1 hook ā€¦ would that fit your needs (it was only added recently)?

    Haha! As a matter of fact, that was me who submitted that change. Here’s my pull request. I got an answer to my question here from @tirrell on Twitter, and I went ahead and submitted against master. šŸ˜‰ Thanks!

    • This reply was modified 2 years, 3 months ago by TheWebist.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mising `develop` branch?’ is closed to new replies.