Requiring config from within an MU plugin
-
Hi folks,
Fantastic work with the plugin, I’ve been a fan for a long time π
Up until now I’ve been loading the config file from within the themes I build, and that’s been great, but now I’m trying things out in moving much of my base functionality into an MU plugin. Now obviously MU plugins load before regular plugins, and so it seems putting the require_once inside a function that’s hooked to the init action (with the add_action being called within the MU plugin) means it’s trying to load the config file too early. Is there another hook and priority you would recommend in this scenario?
Thanks in advance π
Cheers,
RS
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Requiring config from within an MU plugin’ is closed to new replies.