Writing plugins: post_hook and pre_hook are mandatory, but documented as optional
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/plugins/docs/intro.html#hooks says about pre_hook()
and post_hook()
methods: “Each of these methods are optional.”
If I do not implement (declare) any of the methods in my plugin, logs/plugin.logs prints
Mar 09 23:43:49 2022 (1902229) Plugin class does not implement IPlugin: zzz
That said, the methods are not optional