If you guessed yourself, you are entirely correct.
The active ingredient here is the cooking oil, the critters just cant take it and stay away.
The liquid is strained off when its cooled.
This recipe is a great repellent and will keep any pest from feeding on your plants.
These recipes are great, I have used them all and they work very well.