Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Possible to trigger maintenance mode via functions.php

$
0
0

Replies: 0

Hey,
I already asked for this feature a year ago, but I can’t reply in that thread anymore.
https://wordpress.org/support/topic/possible-to-trigger-maintenance-mode-via-functions-php/#post-13563475

So here a small “bump” – would that be possible?

`Hey,
I really love this addon and using it in all of my projects.
I was wondering if it’s possible to trigger the maintenance mode via the functions.php file of my theme?
Reason: I would like to have the maintenance mode active while GIT deployment ist running. I currently detect if the git file lock file is present and then enable the normal WP Maintenance mode which is not really nice.
Is there any way I can set your plugin to “active” by that code?
Thanks in advance!`


Viewing all articles
Browse latest Browse all 59525

Trending Articles