[Resolved] [Plugin: Events Manager] How to loop through events in PHP?
The small calendar file has a foreach loop that goes through each day looks to see if events are present.
Is it possible to do something similar but with a full list of events (rather than calendar days) and access each attribute of the event (title, location, etc)?
I’ve had some luck using:
EM_Events::output( array(‘format’=>'<custom_format_here>’,’orderby’=>’event_start_date,event_start_time’,’pagination’=>0 ));
but would like more control so I can apply different formatting based on attribute values.
- The topic ‘[Resolved] [Plugin: Events Manager] How to loop through events in PHP?’ is closed to new replies.