Function Reference: geodir_event_meta_box_add

Summary

This function has not been documented yet.

Source File

geodir_event_meta_box_add() is located in geodir_event_manager/gdevents-admin/admin_hooks_actions.php [Line: 63]

Source Code

function geodir_event_meta_box_add()
{
	global $post;
  
	add_meta_box( 'geodir_event_schedule', __( 'Event Schedule', GEODIREVENTS_TEXTDOMAIN ), 'geodir_event_event_schedule_setting', 'gd_event','normal', 'high' );
	
	$package_info = array();
	$package_info = geodir_post_package_info($package_info , $post);
	
	if(!isset($package_info->post_type) || $package_info->post_type != 'gd_event')
		return false;
	
	if(isset($package_info->link_business_pkg) && $package_info->link_business_pkg  == '1'){	
		
		add_meta_box('geodir_event_business',__( 'Businesses', GEODIREVENTS_TEXTDOMAIN ),'geodir_event_business_setting','gd_event','side','high');
		
	}
	
}