Title: Command CLI or public function
Last modified: July 16, 2025

---

# Command CLI or public function

 *  Resolved [longnosuke](https://wordpress.org/support/users/longnosuke/)
 * (@longnosuke)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/command-cli-or-public-function/)
 * Hi, I’m planning migration via bunch of custom WP_CLI command. Is there a WP_CLI
   or public function to call to enable the construction-page ?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * (@talextech)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/command-cli-or-public-function/#post-18558816)
 * No, we don’t have a wp-cli command to turn under construction on/off, sorry 🙁

Viewing 1 replies (of 1 total)

The topic ‘Command CLI or public function’ is closed to new replies.

 * ![](https://ps.w.org/under-construction-page/assets/icon-256x256.gif?rev=2284849)
 * [Under Construction](https://wordpress.org/plugins/under-construction-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/under-construction-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/under-construction-page/)
 * [Active Topics](https://wordpress.org/support/plugin/under-construction-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/under-construction-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/under-construction-page/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * Last activity: [10 months, 2 weeks ago](https://wordpress.org/support/topic/command-cli-or-public-function/#post-18558816)
 * Status: resolved