Preheat your oven to 350°F.
Line a cupcake pan with the ice cream cones, placing them upright.
In a large mixing bowl, combine the flour, sugar, baking powder, and salt.
Add the softened butter, eggs, vanilla extract, and milk.
Beat with an electric mixer on medium speed for about 2 minutes until well combined.
Carefully spoon the batter into each ice cream cone, filling them about 2/3 full.
Bake in the preheated oven for 18-20 minutes or until a toothpick inserted into the center comes out clean.
Allow the cupcakes to cool in the cones for about 10 minutes, then transfer them to a wire rack to cool completely.
Once cooled, frost the tops of the cupcakes with your favorite frosting and add sprinkles for decoration.