aism_migration_copy
Copies selected posts and pages between WordPress sites, including categories, tags, featured images, embedded media, and reusable blocks, then remaps IDs and URLs. Re-running updates earlier copies.
Instructions
Copy selected posts/pages (any type) from one site to another with their categories/tags, featured images, embedded media and reusable blocks, then remap IDs and URLs. Copying again updates the earlier copies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Source post IDs (find them with aism_content_list on the source). | |
| source | Yes | Configured site name to migrate FROM (needs migration:read). | |
| status | No | preserve keeps source publication status; draft imports publicly viewable content as drafts (patterns, menus and templates stay usable). | draft |
| target | Yes | Configured site name to migrate INTO (needs migration:read and migration:write). | |
| author_map | No | Source author login → target user login. Unmapped authors match by login, then email, then default_author. | |
| match_slugs | No | Adopt existing target posts with the same type and slug instead of creating duplicates. Terms and templates always match by slug. | |
| max_seconds | No | ||
| on_existing | No | For objects already migrated earlier: update them from the source, or leave them. | update |
| default_author | No | Target login used when no author matches. Defaults to the target key owner. | |
| include_dependencies | No | Also copy referenced media, featured images and reusable blocks. |