You are here

function wordpress_migrate_blog in WordPress Migrate 7

Same name and namespace in other branches
  1. 7.2 wordpress_migrate.module \wordpress_migrate_blog()
6 calls to wordpress_migrate_blog()
drush_wordpress_migrate_import in ./wordpress_migrate.drush.inc
drush_wordpress_migrate_rollback in ./wordpress_migrate.drush.inc
WordPressBlog::blogs in ./wordpress.inc
WordPressMigration::__construct in ./wordpress.inc
Constructor - general setup for WordPress migrations.
wordpress_migrate_import_form_submit in ./wordpress_migrate.pages.inc
Submit callback for the WordPress import form.

... See full list

File

./wordpress_migrate.module, line 125
API and drush commands to support migration of data from WordPress into a Drupal installation.

Code

function wordpress_migrate_blog($filename) {
  $blog_class = wordpress_migrate_blog_class();
  return new $blog_class($filename);
}