Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $upgrading = time();
- # activate maintenance mode, flush caches and stuff
- wp plugin activate ultimate-maintenance-mode
- # do maintenance things
- wp plugin deactivate ultimate-maintenance-mode
- # flush caches again so the maintenance page does not show up
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement