Hi John
Thanks for this. I do use the plugins_loaded
hook, but there could be paths through my code where this happens too late (my plugin is supposed to run in certain circumstances without needing to fire up WordPress fully.
Thanks for the initial hint – could be what I need to find the solution.
Thanks, David