function show_cat_event_date_max($atts) { extract(shortcode_atts(array('max_days' => 'No Date Supplied', 'event_category_id' => __('No Category ID Supplied', 'event_espresso')), $atts)); $max_days = "{$max_days}"; $event_category_id = "{$event_category_id}"; display_event_espresso_cat_date_max($max_days, $event_category_id); }
function show_cat_event_date_max($atts) { extract(shortcode_atts(array('max_days' => 'No Date Supplied', 'event_category_id' => __('No Category ID Supplied', 'event_espresso')), $atts)); $max_days = "{$max_days}"; $event_category_id = "{$event_category_id}"; ob_start(); display_event_espresso_cat_date_max($max_days, $event_category_id); $buffer = ob_get_contents(); ob_end_clean(); return $buffer; }