Contrary to its name, pastry cream -- a classic custard filling for cakes, tarts, pastries, and other baked goods This recipe is from "Martha Stewart's Cupcakes.".
There are little tweaks in procedure — some recipes use cornstarch instead Pastry cream can be used as a filling for things like cream puffs, éclairs, . I use Italian Custard Cream for my eclairs recipe, it's a similar process.
Learn how to make homemade pastry cream, a basic vanilla custard that is used as a filling for cream horns.