Preheat the oven to 350 degrees F and grease a 9x5-inch loaf pan
Mix flour, baking soda, salt, walnuts, and apples in a large bowl.
Whisk oil, sugars, eggs, cinnamon and vanilla together in a small bowl; add to flour mixture and mix until just moistened.
Pour or spoon batter into prepared loaf pan
Bake in preheated oven until a toothpick inserted into the center comes out clean, about 45 minutes to 1 hour. (bake time depends on how hot your oven gets)