Update hooks.php

Sign-off-by: Diego Andrés