Function Reference: geodir_custom_advance_search_field_adminhtml

Summary

This function has not been documented yet.

Source File

geodir_custom_advance_search_field_adminhtml() is located in geodir_advance_search_filters/geodirectory_advance_search_function.php [Line: 431]

Source Code

function geodir_custom_advance_search_field_adminhtml($field_type , $result_str, $field_ins_upd = '', $default = false)
{
	
	global $wpdb;
	
	$cf = $result_str;
	if(!is_object($cf))
	{
		
		$field_info =	$wpdb->get_row($wpdb->prepare("select * from ".GEODIR_ADVANCE_SEARCH_TABLE." where id= %d",array($cf)));
		
	}
	else
	{
		$field_info = $cf;
		$result_str = $cf->id;
	}

	include('advance_search_admin/custom_advance_search_field_html.php'); 
}