I was wondering if there are API functions or WP CLI commands available to communicate with the MainWP extensions like the Cloning extension. I would love to automate my business a little more, and things like this could really help, but I can’t find any info about it.
One of the things I would like to automate is this:
- (mainWP) Add existing site (example .com)
- (hosting) Create new wordpress site (staging .example .com)
- (mainWP) add/connect dev site
- (mainWP) clone “example .com” to “staging .example .com”
Any help on how to do this?
At the moment, there are no CLI commands and REST API endpoints for extensions. However, we do have plans to handle this in the future.
With the currently supported features, you can add/connect sites via CLI or REST API, but cloning site is not available.
Let me know if you want me to move this post to feature requests section.
Please do, I can imagine other people would like to use functionality like this too. It can be a real gamechanger in automating stuff…
Topic moved to Feature requests.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.