After the cover is cast they bore the holes for the oil passages. Seeing how they can't drill around corners they drill two holes. One goes down to the oil pump, the other to the oil filter. The two holes cross.
After the holes are drilled they plug the outer ends of the holes. Now oil flows out of the pump up to the plugs and gets sent to the filter cavity.