To prepare a cranberry cupcakes with white chocolate frosting recipe, you'll first need to prepare the cupcake batter. Preheat the oven to 350?F (180?C) and grease and flour two cupcake pans. In another large bowl, combine the flour, baking powder, sugar, and salt. Gradually add the wet ingredients to the dry ingredients, mixing well after each addition. Pour the batter into the prepared cupcake liners and bake for 18 to 20 minutes, or until the toothpick inserted in the center comes out clean. Let cool before frosting.