Automatically connect new site to mainWP dashboard
-
Hi, I am curios to know if there is any way to connect the child site to MainWP dashboard via php function or REST API perhaps.
I am creating new wordpress site on the server via automation script (Easyengine) and then installing and activating certain plugins including MainWP child plugin on the newly created site via wp-cli. I then want to automatically connect the newly created site to my MainWP Dashboard site which is where I’m stuck.
I am using phpseclib and get success response once the plugins are installed and activated. I want to know if there is any inbuilt function I can trigger on the success response to add the newly created site to MainWP dashboard
- The topic ‘Automatically connect new site to mainWP dashboard’ is closed to new replies.