Need to upgrade the `safe-core-protocol` to the recent version to set hooks via Manager by setting it as a guard. Here is a sample [hook](https://github.com/koshikraj/safe-core-protocol-demo/blob/feature-hook-support/contracts/contracts/WhitelistHook.sol).
Need to upgrade the
safe-core-protocolto the recent version to set hooks via Manager by setting it as a guard.Here is a sample hook.