Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter grogro54

    (@grogro54)

    Thank you ! That’s exactly what I was looking for.

    I wanted to display all my bookables events no matter the
    id parameters.

    <?php
                $o_limit=0;
                $events = eme_get_events($o_limit, "future", "ASC", 0, "", "", "", "", 1, "", 0, "event_rsvp=1");
                $i=0;
                $chaineid = '';
                foreach ($events as $event)
                {
                    if($i!=0)
                    {
                        $chaineid .= ',';
                    }
                    $chaineid .= $event[event_id];
                    $i++;
                }
                echo do_shortcode('[eme_add_multibooking_form id='.$chaineid.' template_id=5 template_id_header=3 template_id_footer=4]')
            ?>
Viewing 1 replies (of 1 total)