I have just gotten off the phone with Bayer and asked this question of them.  They cannot recommend this product to get rid of hookworms.  However, I do want to encourage you to not wash them into the soil because they are still going to be a problem if your dog goes to that spot.  You really need to bag the feces and dispose of them.
My triple wormer is an excellent product to get rid of hooksworms along with round & tapeworms.  You can find it here:  https://rollingtstores.com/dog-wormers/triple-wormer-dog-dewormer/