Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP-CLI support #38

Open
lukasjuhas opened this issue Aug 8, 2017 · 1 comment
Open

WP-CLI support #38

lukasjuhas opened this issue Aug 8, 2017 · 1 comment

Comments

@lukasjuhas
Copy link
Owner

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.

@jerry-hudgins
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants