Is it possible for a plugin to override maintenance mode?
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!