Ingredients
Equipment
Method
- Preheat your oven to 180°C (350°F) and line a muffin tin with paper liners.

- In a large bowl, sift together the flour, cocoa powder, baking powder, and salt to ensure even mixing.

- In a separate bowl, beat the softened butter and sugar with an electric mixer until light and fluffy, about 3 minutes, and you hear a gentle squeak from the mixture.

- Add eggs one at a time to the butter mixture, beating well after each addition, then mix in vanilla extract.

- Gradually add the dry ingredients to the wet mixture, alternating with the milk, starting and ending with the dry ingredients. Mix until just combined and the batter is smooth.

- Divide the batter evenly among the cupcake liners, filling each about two-thirds full, and bake for 20-22 minutes or until a toothpick inserted in the center comes out clean.

- Remove the cupcakes from the oven and let them cool in the tin for 5 minutes before transferring to a wire rack to cool completely.

- Once fully cooled, use a small knife or cookie cutter to carefully carve out a small cone at the top of each cupcake, creating a hat shape.

- Fill the carved cone with your choice of filling, such as chocolate ganache or fruit jam, using a piping bag or teaspoon.

- Place the cone back on top of each cupcake, pressing gently to secure, then pipe a layer of frosting over the entire cupcake to resemble a hat.

- Add sprinkles, candies, or edible decorations to embellish the hat and add a festive touch.

- Finish by piping a small star or buckle on the tip of each hat for extra flair. Serve and enjoy these playful Halloween treats!

Notes
Ensure cupcakes are completely cooled before carving to prevent crumbling. Chill filled cupcakes briefly to help filling set before decorating. Use stiff frosting for best adhesion and decoration.
