ImportWxrStep <ResourceType>
Index
Properties
optionalauthorsMap
Remote WXR author usernames keyed to existing local usernames.
optionalauthorsMode
How to assign imported WXR authors to local WordPress users.
optionaldefaultAuthorUsername
The fallback local user for imported authors that cannot be mapped.
optionalfetchAttachments
Whether to fetch and import attachment files referenced by the WXR file.
file
The file to import
optionalimportComments
Whether to import comments from the WXR file.
optionalimportUsers
Whether to create local users for imported WXR authors.
optionalimporter
The importer to use. Possible values:
default: The importer from https://github.com/humanmade/WordPress-Importerdata-liberation: The experimental Data Liberation WXR importer developed at https://github.com/WordPress/wordpress-playground/issues/1894
This option is deprecated. The syntax will not be removed, but once the
Data Liberation importer matures, it will become the only supported
importer and the importer option will be ignored.
optionalrewriteUrls
Whether to rewrite imported URLs to the current site URL.
step
optionalurlMapping
Explicit URL replacements to apply when URL rewriting is enabled.
Imports a WXR file into WordPress.