I found this recipe and tried it but I shortened the steps by using canned apple pie filling and instead of using buttercream frosting I used powdered sugar, butter and cinnamon. My grandsons loved them.
1•Preheat oven to 350°F. Line two 12 cupcake pans with paper liners.
2In a medium bowl, sift together the cake flour, baking powder and salt.
3With an electric mixer, cream the butter and sugar together on medium-high speed until light and fluffy.
4Beat in the eggs one at a time, mixing well and scraping down the sides of the bowl after each addition; add the vanilla extract and mix well to combine.
5Add in the dry ingredients alternately with the milk, Stir until just combined.
6Pour into 24 cupcake liners 1/2 to 3/4 full
7Bake until golden and a toothpick inserted in the center comes out clean, about 18-20 minutes.
8Allow cupcakes to completely cool on a wire rack.
9once the cupcakes are cool using a melon ball scooper or you could use a knife take two scoops of cupcake out of the center and insert the pie filling enough to make it level with the edges of the cupcake it should not take much. You may have to cut the apples in the pie filling up.
10beat the butter until light and fluffy. Add the confectioner's sugar and cinnamon and beat until light and fluffy. Frost the cupcakes.