forms->get_fields('submit-organizer');
if (is_user_logged_in()) {
$current_user = wp_get_current_user();
if (isset($organizer_fields['organizer']['organizer_name']))
$organizer_fields['organizer']['organizer_name']['value'] = $current_user->display_name;
if (isset($organizer_fields['organizer']['organizer_email']))
$organizer_fields['organizer']['organizer_email']['value'] = $current_user->user_email;
}
?>
forms->get_form('submit-venue', array());
$form_submit_venue_instance = call_user_func(array('WP_Event_Manager_Form_Submit_Venue', 'instance'));
$venue_fields = $form_submit_venue_instance->merge_with_custom_fields('backend');
?>