Add the softened butter to a mixing bowl and beat until creamy.
Add the granulated sugar and mix until light and fluffy.
Add the vanilla extract and yogurt, then mix until well combined.
In a separate bowl, combine the all-purpose flour, baking powder, baking soda, and salt.
Add the dry ingredients to the wet mixture and mix until incorporated.
Add the milk and mix until a smooth batter forms.
Add the hot coffee mixture.
Add the toasted chopped walnuts to the dry ingredients, then fold them into the batter.
Sprinkle a few chopped walnuts over the base of the prepared loaf pan.
Pour the cake batter over the walnuts and spread evenly.
Bake at 350°F (175°C) for 40–50 minutes, or until a toothpick inserted into the center comes out clean.
Remove the cake from the oven and allow it to cool completely.
Cut the cake into slices and serve.