posts/hooks: add an example