Function Reference: geodir_event_template_loader

Summary

This function has not been documented yet.

Source File

geodir_event_template_loader() is located in geodir_event_manager/gdevents_hooks_actions.php [Line: 5]

Source Code

function geodir_event_template_loader($template) {
	
	if(geodir_get_current_posttype() == 'gd_event'){
	
		add_action('geodir_before_detail_fields','geodir_event_schedule_date_fields', 3);
		add_action('geodir_before_detail_fields','geodir_event_show_business_fields_html',4);
		add_filter('geodir_detail_page_sidebar_content', 'geodir_event_detail_page_sitebar_content', 2);
		add_action('geodir_before_listing', 'geodir_event_display_filter_options', 100);
		
	}
	
	return $template;
}