Creates new tables and user meta for site admin after new site is created.
- Full name:
new_site_schema - Defined in:
cms/core/Shared/Helpers/site.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$site |
\App\Domain\Site\Model\Site | Site object of newly created site. |
$update |
bool | Whether the site is being created or updated. |
Return Value
string|bool
Returns the site id if successful or false on failure.