Where does this wire go? Found under oil filter.

The insulation has become quite solid as is not very flexible. It seems to have a taken shape in the direction of the oil filter area, so I think you’re right it must plug into something around there. I’ll have to search better. Where exactly would the oil pressure indicator be located. At the rear of the filter ?