lj-maintenance-mode icon indicating copy to clipboard operation
lj-maintenance-mode copied to clipboard

WP-CLI support

Open lukasjuhas opened this issue 7 years ago • 1 comments

Jerry Hudgins (@laureldigital) This is a very useful plugin; thanks for your work on it.

I’d like to suggest a small feature enhancement to make it even more useful: simple enable/disable support via WP-CLI command. This would permit temporary lockout of new user-generated content or E-commerce transactions during cron-driven scripted operations such as backup or content import.

lukasjuhas avatar Aug 08 '17 08:08 lukasjuhas

There's a useful example of an implementation of this feature for the WP Maintenance Mode plugin here on GitHub. An implementation for your own plugin could be somewhat simpler, I'd think.

jerry-hudgins avatar Sep 04 '17 18:09 jerry-hudgins