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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.