StagingSites
Retrieve, create, and delete staging sites for a specific WordPress.com site.
Table Specific Information
Select
The provider uses the WordPress API to process WHERE clause conditions built with the following column and operator:
- Id supports the = comparison.
The rest of the filter is executed client-side within the provider.
For example, the following queries are processed server-side:
SELECT * FROM StagingSites WHERE Id = 123456
Insert
To insert a staging site, specify at least the following column: Name.
INSERT INTO StagingSites (Name) VALUES ('my-staging-site')
Delete
To delete a staging site, specify the Id of the staging site.
DELETE FROM StagingSites WHERE Id = 123456
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Int | True |
The unique identifier of the staging site. | |
| Name | String | False |
The title or name of the staging site. | |
| Url | String | True |
The full URL of the staging site. | |
| UserHasPermission | Boolean | True |
Indicates whether the current user has permission to access or manage the staging site. |