Get recently published event

Home Forums Calendar Products Events Calendar PRO Get recently published event

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1017856
    webotools
    Participant

    Hi guys,

    This code mentioned here http://pastebin.com/88XHLXBP was working with the old version, but now that we have the most recent version of the events calendar pro, it does not work. Could you let me know if there is an equivalent code now?

    We simply want to have a query with the 4 last published events.

    Thanks in advance.

    #1018066
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    Try changing this:

    remove_action('parse_query', array('TribeEventsQuery', 'setupQuery'), 0);

    To this:

    remove_action('parse_query', array('Tribe__Events__Query', 'setupQuery'), 0);

    Let me know if that helps.

    Thanks

    #1023667
    Support Droid
    Keymaster

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Get recently published event’ is closed to new replies.