Oat flour is the only flour I've tested so far with this recipe, so I can't say for sure, though I have heard from others who subbed whole wheat pastry with great success.