• Resolved diegosev

    (@diegosev)


    Hello and thanks for any kind of support. I’m trying to create a whatsapp bot to manage a wordpress multisite with about 150 subsites using wp-cli. Is there any command in wp-cli to activate or deactivate the “maintenance mode” of a subsite? I have “wp plugin activate coming-soon –network” to activate and “wp plugin deactivate coming-soon –network” the seedprod plugin globally. Is there any way to change the “network Seedprod Settings” “enable_maintenance_mode”:false,” of a single site?

Viewing 1 replies (of 1 total)
  • Thread Starter diegosev

    (@diegosev)

    I’m looking to update the seedprod plugin option “enable_maintenance_mode” false/true value for a given subsite with no luck. I’m trying with “wp –url=subsite.url.com option patch update seedprod_settings enable_maintenance_mode false” but I’m getting the message

    No data exists for key “enable_maintenance_mode”

    If i use wp –url=sudsite.url.com option list –search=”seedprod*”
    I’m getting | seedprod_settings | {
    “api_key”:””,
    “enable_coming_soon_mode”:false,
    “enable_maintenance_mode”:true,
    “enable_login_mode”:false,
    “enable_404_mode”:false
    }

    So the info is there but the command to update that value is not working. Any idea? thanks for your time.

Viewing 1 replies (of 1 total)
  • The topic ‘wp-cli maintenance mode subsites’ is closed to new replies.