Open georgejipa opened 5 years ago
Would be nice to have a custom WP-CLI command to activate/deactivate the maintenance mode.
wp mm activate wp mm deactivate
Activation wp option patch update wpmm_settings general status 1
wp option patch update wpmm_settings general status 1
Deactivation: wp option patch update wpmm_settings general status 0
wp option patch update wpmm_settings general status 0
Options list: wp option get wpmm_settings
wp option get wpmm_settings
Would be nice to have a custom WP-CLI command to activate/deactivate the maintenance mode.