wp cli - Create Wordpress Multisite Instance Programmatically

Our CI process sets up everything from scratch, including WordPress, and our WordPress is a multisite instance. Adding a

Our CI process sets up everything from scratch, including WordPress, and our WordPress is a multisite instance. Adding a site after the Multisite functionality has been setup is easy to do programatically, but the initial setup seems to need to be done manually.

Is there a way to setup the initial network tables without hitting install on the dashboard, maybe using WP-CLI or a build in method?

Our CI process sets up everything from scratch, including WordPress, and our WordPress is a multisite instance. Adding a site after the Multisite functionality has been setup is easy to do programatically, but the initial setup seems to need to be done manually.

Is there a way to setup the initial network tables without hitting install on the dashboard, maybe using WP-CLI or a build in method?

Share Improve this question edited Aug 22, 2019 at 5:58 bueltge 17.1k7 gold badges62 silver badges97 bronze badges asked Aug 21, 2019 at 18:53 The Pax BisonicaThe Pax Bisonica 1032 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

WP-CLI has a couple of commands to install Multisite (or convert a non-Multisite WP installation to Multisite):

  • wp core multisite-install
  • wp core multisite-convert

Are either of those what you're looking for?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745221375a4617264.html

相关推荐

  • wp cli - Create Wordpress Multisite Instance Programmatically

    Our CI process sets up everything from scratch, including WordPress, and our WordPress is a multisite instance. Adding a

    6小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信