Yes, you can substitute whole wheat flour for all-purpose flour in this recipe. However, keep in mind that the texture and flavor of the pancakes may be slightly different.