01 - Preheat oven to 350°F and line a standard muffin tin with 12 cupcake liners.
02 - In a medium bowl, whisk together all-purpose flour, baking powder, and salt until evenly blended.
03 - In a large mixing bowl, cream unsalted butter and granulated sugar using an electric mixer until mixture is light and fluffy. Add eggs one at a time, beating thoroughly after each addition.
04 - Incorporate crushed pineapple, pineapple juice, milk, and vanilla extract into the butter mixture, mixing gently until combined.
05 - Add the dry mixture to the wet ingredients and stir just until the ingredients are fully incorporated. Do not overmix the batter.
06 - Evenly divide the batter among the prepared cupcake liners. Bake for 16 to 18 minutes, or until a toothpick inserted in the center comes out clean.
07 - Allow the cupcakes to cool in the pan for 5 minutes. Transfer to a wire rack and cool completely.
08 - For the frosting, beat butter and cream cheese together until smooth. Gradually incorporate powdered sugar while mixing on low speed. Blend in pineapple juice, vanilla extract, and food coloring if desired. Beat on high until the frosting is airy and light.
09 - Once cupcakes are fully cooled, frost generously using a piping bag or spatula. Top with dried pineapple flowers or maraschino cherries as desired.