Confused by PHP alternative to shortcodes for grouped content
-
What is the PHP equivalent to this shortcode?
[events_list_grouped mode="monthly"]<ul class="event-board d-flex flex-column flex-wrap align-content-center justify-content-center"><li>#_LOCATIONNAME</li><li>#_EVENTDATES</li><li>#_EVENTPRICERANGE</li><li>#_EVENTTIMES</li><li>Spaces: #_AVAILABLESPACES</li><li>#_EVENTLINK</li></ul>[/events_list_grouped]
I know I can use:
echo EM_Events::output_grouped( array('scope' => 'future', 'mode' => 'monthly') );
but that doesn’t let me format each events’ result using a for loop.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Confused by PHP alternative to shortcodes for grouped content’ is closed to new replies.