01 - Preheat oven to 350°F (175°C) and arrange 12 cupcake liners in a standard muffin tin.
02 - In a medium mixing bowl, whisk together all-purpose flour, baking powder, and salt until uniformly blended.
03 - In a large bowl, beat together unsalted butter and granulated sugar until pale and fluffy using an electric mixer.
04 - Add eggs one at a time to the butter mixture, beating thoroughly after each addition to ensure full incorporation.
05 - Gently mix in the crushed pineapple, reserved pineapple juice, whole milk, and vanilla extract until combined.
06 - Add the dry ingredients to the wet ingredients and mix on low speed just until no dry flour remains. Avoid overmixing.
07 - Evenly divide batter among the liners, filling each about two-thirds full. Bake for 16–18 minutes, or until a toothpick inserted in the center comes out clean.
08 - Let cupcakes rest in the pan for 5 minutes, then transfer to a wire rack and allow to cool completely before frosting.
09 - In a clean bowl, beat together unsalted butter and cream cheese until smooth and creamy. Gradually incorporate powdered sugar, mixing on low, then add pineapple juice, vanilla extract, and food coloring if desired. Beat on high until light and fluffy.
10 - Once cupcakes are completely cool, use a piping bag or spatula to frost generously. Garnish with dried pineapple flowers or maraschino cherries as desired.