Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $format_header = em_format_header( 'Country', 1 );
- $format_item = em_format_item();
- $format_footer = em_format_footer();
- // get events for this month
- $context[ 'format_header' ] = $format_header;
- $context[ 'format_footer' ] = $format_footer;
- $context[ 'this_month' ] = EM_Events::get( array(
- 'format_header' => $format_header,
- 'format' => $format_item,
- 'format_footer' => $format_footer,
- 'limit' => 0,
- 'orderby' => 'event_start_date,event_start_time,event_name',
- 'scope' => 'this-month'
- ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement