The perils of digging up gardens (7)
I believe the answer is:
dangers
'the perils' is the definition.
('danger' can be a synonym of 'peril')
'up gardens' is the wordplay.
'up' is an anagram indicator (letters get chucked up).
'gardens' with letters rearranged gives 'DANGERS'.
'of digging' is the link.
This may not be right. Some or all of it may belong to another bit of the clue.
Can you help me to learn more?
(Other definitions for dangers that I've seen before include "Perils" , "Gardens (anag.)" , "Hazards" .)