In a medium sized mixing bowl, cream the butter and caster sugar with a handheld mixer, until light and fluffy.
Add the egg and vanilla, then mix until well combined
Now add the flour and milk alternately, ½ of each at a time. Fold in each addition gently, using a spatula, until just combined
Scoop a teaspoon of batter into the prepared tray, into each of the 12 cavities and gently spread it to fill the base
Place a small teaspoon of apple filling into the centre of each cavity, pushing it into the batter slightly
Top with another small teaspoon of cake batter and gently tap and spread the batter over the apple.
Bake for 12 minutes, until lovely and golden, then remove from oven and cool in the tray.
Remove cooled cakes from the tray -if they don't come out easily, guide them out with a large dessertspoon