show_importer_params(array(
'slug' => 'posts',
'title' => esc_html__('Import posts, pages, taxonomies, etc.', 'trx_utils'),
'part' => 1,
'checked' => true,
'class' => 'trx_importer_separator'
));
?>
">
get_list_pages_from_demo($this->options['demo_type']);
if (is_array($pages)) {
foreach ($pages as $id=>$title) {
?>
show_importer_params(array(
'slug' => 'tm',
'title' => esc_html__('Import Theme Options', 'trx_utils'),
'part' => 1,
'checked' => true
));
$this->show_importer_params(array(
'slug' => 'to',
'title' => esc_html__('Import Theme Settings', 'trx_utils'),
'part' => 1,
'checked' => true
));
$this->show_importer_params(array(
'slug' => 'widgets',
'title' => esc_html__('Import Widgets', 'trx_utils'),
'part' => 1,
'checked' => true,
'class' => 'trx_importer_separator'
));
$this->show_importer_params(array(
'slug' => 'uploads',
'title' => esc_html__('Import media', 'trx_utils'),
'part' => 1,
'checked' => true,
'class' => 'trx_importer_separator_before'
));
if (!empty($this->options['regenerate_thumbnails'])) {
$this->show_importer_params(array(
'slug' => 'thumbnails',
'title' => esc_html__('Regenerate thumbnails', 'trx_utils'),
'part' => 1,
'checked' => true
));
}
do_action('trx_utils_action_importer_params', $this);
?>