Function Reference: geodir_get_invoice

Summary

This function has not been documented yet.

Source Code

function geodir_get_invoice($id = ''){
	global $wpdb;
	
	
	$invoice = $wpdb->get_row($wpdb->prepare("SELECT * FROM ".INVOICE_TABLE." WHERE id = %d ", array($id)));

	if(!empty($invoice))
		return $invoice;
	else
		return false;	
}