' . __('Regsitration is Closed', 'event_espresso') . '' : ''; global $this_event_id; $this_event_id = $event_id; ?>
event_cost; ?>
$event_id, //REQUIRED, Anchor of the link, can use text or image 'anchor' => __("Add to Cart", 'event_espresso'), //'anchor' => '
',
//REQUIRED, if not available at this point, use the next line before this array declaration
// $event_name = get_event_field('event_name', EVENTS_DETAIL_TABLE, ' WHERE id = ' . $event_id);
'event_name' => $event_name,
//OPTIONAL, will place this term before the link
'separator' => __(" or ", 'event_espresso')
);
$cart_link = event_espresso_cart_link($params);
}else{
$cart_link = false;
}
if ($display_reg_form == 'Y') {
?>