I have a PHP script with 2 database tables, one of which is named "options".
I have installed a fresh Wordpress install, and I noticed the database table "options".
I would like to create a multi-tenancy site, where each new "Wordpress User Site" triggers a fresh version of my PHP script for that user to then use (basically a Saas model).
So basically:
New User Site > New Instance of my PHP Script blank
Therefore, each user will use the PHP Script with unique data that is only their data.
I think I may need to turn the PHP Script into a plugin for Wordpress, or can i add some code or structure to make this happen? Not quite sure how to do this out of the box.
Any help is much appreciated.
Aucun commentaire:
Enregistrer un commentaire