WordPress.org

Ready to get started?Download WordPress

Forums

Event Organiser
eo_the_start($format, $ID) not working (3 posts)

  1. khaiknievel
    Member
    Posted 9 months ago #

    Ola,

    I am trying to retrieve the event dates using eo_the_start() by pass the date format and the ID. But, sadly it returns empty, but in fact it should have a date.

    I retrieve the ID by the $_GET('eid') in my site.
    eg. http://www.example.com?eid=23

    I tried to pass through the ID in the function but nothing appears. I have checked the event, I does have a valid start date.

    Not only that, i've tried a couple of function which has ID as a parameter, but it returns nothing.

    Nothing shows up. Need a hands guys.

    Cheers.

    http://wordpress.org/plugins/event-organiser/

  2. Stephen Harris
    Member
    Plugin Author

    Posted 9 months ago #

    Have you seen the docs? You need to pass event (post) and occurrence ID: http://codex.wp-event-organiser.com/function-eo_get_the_start.html

  3. khaiknievel
    Member
    Posted 9 months ago #

    Thanks Mr Dev! I figured an alternative way though. But I'll try it. :)

Reply

You must log in to post.

About this Plugin

About this Topic