No extensions, no database mess, no downtime. You can run it directly in your admin panel without slowing down your site. Just pick your manga, click Export, and you’ll get a ready-to-import JSON file for another site!
Main Features
- Export individual manga or your entire library with one click
- Includes full chapters, core meta, taxonomies, and featured images
- Automatic import — detects by slug and updates or creates as needed
- Follows Init Manga’s native data structure for perfect compatibility
- Built-in cleanup tools for duplicates and orphaned chapters
- Fully translatable (i18n-ready)
- Batch processing for smooth performance on large sites
How It Works
- Go to Init Manga → Migrator in your admin dashboard
- Select manga and click Export Selected
- Or export everything using Export All
- To import, upload or paste your JSON file and click Import Now
- Review the summary — created, updated, skipped, and chapter stats
Cleanup Tools
- Delete duplicate manga (slug ends with “-2” and has no chapters)
- Delete orphan chapters (chapters without a valid manga, including linked ghost_chapter posts)
- Batch-based cleanup to prevent overload on large databases
Developer Filters
Init Manga Migrator provides developer-friendly filters that let you modify or extend its behavior safely. Below are all available filters with real examples:
1. init_manga_migrator_export_chapter_content
This filter lets you modify the chapter content before it’s exported.
It passes three arguments: $content (raw HTML content), $manga_id (parent manga ID), and $row (the chapter row from the database).
Example: For manga with the meta field type = novel, remove all hyperlinks (the <a> tags and their contents).
add_filter('init_manga_migrator_export_chapter_content', function($content, $manga_id, $row) {
$type = get_post_meta($manga_id, 'type', true);
if ($type === 'novel') {
// Remove all <a> tags and their inner content
$content = preg_replace('#<a\b[^>]*>.*?</a>#is', '', $content);
}
return $content;
}, 10, 3);
2. init_manga_migrator_cleanup_dupe_manga_batch
Change the batch size for duplicate manga cleanup (default: 300).
Reduce the value for low-resource servers, or increase it on higher-performance hosting.
add_filter('init_manga_migrator_cleanup_dupe_manga_batch', function() {
return 200; // Process 200 items per batch
});
3. init_manga_migrator_cleanup_orphan_chapters_batch
Adjust the batch size when cleaning orphan chapters (default: 500).
Tune this value based on your server’s capacity.
add_filter('init_manga_migrator_cleanup_orphan_chapters_batch', function() {
return 1000; // Process 1000 rows per batch
});
Quick Installation
- Download and extract the plugin to
/wp-content/plugins/init-manga-migrator/ - Activate it through the Plugins menu in your dashboard
- Ensure your Init Manga theme is active and properly licensed
- Open Init Manga → Migrator to start exporting or importing
Compatibility & Performance
- Compatible with WordPress 5.5 and above
- Requires PHP 7.4+
- Batch-based logic for large libraries (safe for thousands of chapters)
- Uses clean JSON, no external dependencies
Get Started
Running a manga site with the Init Manga theme and need to migrate, back up, or sync content between servers quickly? Init Manga Migrator is the perfect tool — lightweight, safe, and fully automated!