01 - Preheat oven to 350°F. Line a 12-cup muffin pan with paper liners.
02 - In a medium bowl, whisk together the flour, baking powder, and salt until evenly distributed.
03 - In a large bowl, beat the softened butter and granulated sugar together until light and fluffy.
04 - Add the eggs one at a time, mixing well after each addition to ensure full emulsion.
05 - Stir in the vanilla extract, drained crushed pineapple, and reserved pineapple juice until combined.
06 - Gradually mix in half the dry ingredients, followed by the milk, then the remaining dry ingredients, mixing just until combined to avoid overworking the batter.
07 - Divide the batter evenly among the prepared liners, filling each approximately two-thirds full.
08 - Bake for 16 to 18 minutes, or until a toothpick inserted in the center comes out clean. Let the cupcakes cool completely in the pan before frosting.
09 - Beat the chilled heavy whipping cream in a clean bowl until soft peaks begin to form.
10 - Add the powdered sugar, pineapple juice, and vanilla extract. Continue beating until stiff peaks hold their shape. Tint with yellow food coloring if desired.
11 - Pipe or spread the whipped frosting generously over each completely cooled cupcake.
12 - Top each cupcake with a pineapple wedge or maraschino cherry if desired, and serve immediately.