Update prune.php

Hooks request.
PS: sorry for a multiple commits.
Merge pull request #101 from Allineer/patch-7

Added more hooks to prune.php