Melt the butter in a very small saucepan over low heat. Set aside to cool for 10 minutes.
Meanwhile, grease the slow cooker with the softened butter.
Place the egg yolks, sugar, lemon zest and lemon juice in a large bowl. Beat until combined, using electric beaters. Add the melted butter and beat until combined, then add the milk and beat until combined. Beat in the flour.