Thank you! I will try later.
I thank you for fast response. But, unfortunately, this setup does not work. I have used this hook in functions.php in currently active theme. Actually, it seems this hook is never fired, I cannot output some data to debug.log 🙁
I’m using Bedrock setup with SQLite database as mu-plugin.