Use wood ash on alkaline-loving plants to keep various pests at bay. Cooled, untreated wood ashes directly from a fire and applied as mulch, or wood ashes mixed into compost, are useful around cabbage and onion plants to keep away root maggots. Wood ash mulch or compost also keeps slugs and snails from overrunning alkaline-loving flowers and ornamental plants.