Multi-Tenancy
Distribute subsites across servers and databases for performance and security
Requirements
- WordPress 5.3 or higher
- PHP 7.4 or higher
- Multisite Ultimate plugin (active)
Installation
- Upload the addon files to your
/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Configure the addon settings in the network admin
Development
Setup
# Install dependencies
composer install
npm install
# Run tests
npm run test
# Run code standards checks
vendor/bin/phpcs
vendor/bin/phpstan
# Fix code style issues
vendor/bin/phpcbf
# Build for production
npm run build
Project Structure
ultimate-multisite-addon-template/
├── inc/ # PHP classes and includes
│ ├── class-multisite-ultimate-updater.php # Update handler
│ └── class-multi_tenancy-main.php # Main functionality