1. Home
  2. Wp-cli
  3. Maintenance-mode activate

Puts your site in a maintenance mode and returns "Briefly unavailable for scheduled maintenance. Check back in a minute." message with a 503 server response.

#wordpress#cli
wp maintenance-mode activate
copy
Full Wp-cli cheatsheet