WP Manifestindependent plugin directory
manifest / updates / wp-data-migration

WP Data Migration

Data migration utils for WordPress

by 1815 · github.com/achttienvijftien/wp-data-migration

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/achttienvijftien/wp-data-migration/archive/refs/heads/main.zip

From the readme

WordPress Data Migration WP-CLI command that generates WXR files for WordPress Custom Post Types with meta filtering. Outputs WXR format compatible with WordPress import. Installation Usage Export Export posts with optional meta filtering: Required argument: - --posttype= - Post type to export (required) Supported WordPress query arguments: - --poststatus= - Filter by post status (publish, draft, etc.) - --author= - Filter by author ID - --postin= - Comma-separated post IDs to include - --postsperpage= - Number of posts to export (-1 for all) - --orderby= - Order posts by field (date, title, etc.) - --order= - Sort order (ASC or DESC) Custom meta filtering: - --include-meta= - Comma-separated meta keys to include - --exclude-meta= - Comma-separated meta keys to exclude File splitting: - --maxfilesize= - Maximum file size in MB before splitting (default: 15) - --output= - Custom output filename or base name for split files Examples: Default Meta Exclusions: The following WordPress internal meta keys are excluded by default: - editlock, editlast (editing locks) - wpoldslug, wpolddate (revision data) - Keys starting with oembed (cached embeds) Import Use WordPress c

Read the full README on GitHub →