Preheat your oven to 180°C (350°F), then line your baking tray with muffin paper, and set aside.
Use a strainer to sift the flour, baking powder, salt, and cocoa powder into a medium-sized bowl.
Mix eggs and sugar in a separate (and bigger bowl), until it turns pale yellow and the sugar has mostly dissolved.
Add the milk and melted butter --- and continue mixing.
Add the sifted dry ingredients and mix just enough to combine.
Add a cup of the chopped pears and use a spatula to mix it gently with the rest of the batter.
Fill the lined muffin tray with the chocolate pear batter --- about two-thirds full.
Add the remaining chopped pears on top.
Place your chocolate pear muffins in the middle of the oven for about 20 to 25 minutes or until a toothpick comes out clean when you stick it in the muffin.
Remove from the oven and place on a rack; let it cool for a few minutes.
Enjoy your chocolate pear muffins!