Hooks
Access
You can access the Hooks tab via Certbot > Hooks

Editing
The Hooks form allows you to add and edit Hooks

As shown above, Hooks can be added as pre or post validation hooks, as well as deploy.
For more information on Hooks, visit: https://eff-certbot.readthedocs.io/en/stable/using.html#pre-and-post-validation-hooks