function show_event_date_range($atts) { extract(shortcode_atts(array('date_1' => __('No Date Supplied', 'event_espresso'), 'date_2' => __('No Date Supplied', 'event_espresso')), $atts)); $date_1 = "{$date_1}"; $date_2 = "{$date_2}"; display_event_espresso_date_range($date_1, $date_2); }
function show_event_date_range($atts) { extract(shortcode_atts(array('date_1' => __('No Date Supplied', 'event_espresso'), 'date_2' => __('No Date Supplied', 'event_espresso')), $atts)); $date_1 = "{$date_1}"; $date_2 = "{$date_2}"; ob_start(); display_event_espresso_date_range($date_1, $date_2); $buffer = ob_get_contents(); ob_end_clean(); return $buffer; }