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?