I found a solution:
mu-plugins.
My code isn’t executed in this early state, but that’s what mu-plugins are for.
https://wordpress.org/support/article/must-use-plugins/
This did the trick.
I found a solution:
mu-plugins.
My code isn’t executed in this early state, but that’s what mu-plugins are for.
https://wordpress.org/support/article/must-use-plugins/
This did the trick.