Is it possible for a plugin to override maintenance mode?
Question
I wrote a plugin that uses endpoints to run some synchronization tasks with WP database. Sometimes I’d like to use it even if the website is suspended for maintenance. Is it possible for it to auto-allow itself to run even during maintenance times? I found the “enable_maintenance_mode” filter hook, but it is declared to be called before the plugin startup.
Thank you very much in advance!
0
maintenance, plugin-development
4 years
2020-05-22T15:11:43-05:00
2020-05-22T15:11:43-05:00 0 Answers
94 views
0
Leave an answer