You can use whole wheat flour for all-purpose flour, but a 1:1 ratio will give you a significantly different texture and taste. Start with subbing ¼ of your all-purpose for whole wheat flour and increase the ratio to your liking. King Arthur Baking Company has a good guide for baking with whole wheat flour.