public function WordPressCommentSource::__construct in WordPress Migrate 7
Simple initialization.
Overrides WordPressSource::__construct
File
- ./
wordpress_comment.inc, line 38 - Support for migrating comments from a WordPress blog into Drupal.
Class
- WordPressCommentSource
- Implementation of MigrateSource, to handle migrating comments from WordPress XML dumps.
Code
public function __construct($filename) {
parent::__construct($filename);
$this->xpath = '//channel/item/wp:comment';
}