Aller au contenu principal

ImportWordPressFilesStep <ResourceType>

Imports top-level WordPress files from a given zip file into the documentRoot. For example, if a zip file contains the wp-content and wp-includes directories, they will replace the corresponding directories in Playground’s documentRoot.

Any files that Playground recognizes as “excluded from the export” will carry over from the existing document root into the imported directories. For example, the sqlite-database-integration plugin.

@example
<code>
{
"step": "importWordPressFiles",
"wordPressFilesZip": {
"resource": "url",
"url": "https://mysite.com/import.zip"
}
}
</code>

Index

Properties

optionalpathInZip

pathInZip?: string

The path inside the zip file where the WordPress files are.

step

step: importWordPressFiles

wordPressFilesZip

wordPressFilesZip: ResourceType

The zip file containing the top-level WordPress files and directories.