Local hooks - not working

I have recently stumbled across this article - HOOKS

Section: Server Hooks - Local Hook

Even after doing everything like in this article, my local hook seems to be doing nothing.
Anyone knows if this functionality is still available in strapi, or was it recently deleted?

I use strapi 4.22.