Start by preheating your oven to 350°F (175°C). Grease a cupcake pan with non stick baking spray or brush cooking oil to prevent sticking.
If you're using whole, unsalted and unroasted pistachios, blend them with 2 tbsp of sugar in a food processor until they resemble fine pistachio flour.
In a large bowl, combine the room temperature milk and lemon juice and let it sit for 5 minutes to curdle.
Once the mixture has curdled, add the sugar, vanilla extract, and olive oil, whisking until the sugar dissolves completely.
Add pistachio powder to the liquid ingredients and give it a good mix.
Sift in the all-purpose flour, cornstarch, baking powder, baking soda, and salt. Mix the dry ingredients into the wet mixture until everything is well combined.
The batter should be smooth and free of lumps. Pour the batter into your prepared cupcake pan. Fill about 3/4 full for each cavity. If you are using a large muffin pan like me then fill the cavity only half full.
Place the pan in the preheated oven and bake for 12-15 minutes, or until a toothpick inserted into the center comes out clean.
Once baked, remove the pan from the oven and allow it to cool completely in the pan before removing so that they don't break.