He can not get custody of the child if out of wedlock but he can get visitation rights- however- also end up paying child support.. uh huh...