options['custom_type'])){ switch ($item->options['custom_type']){ default: $custom_type = get_post_type_object( $item->options['custom_type'] ); if ( ! empty($custom_type) ) { $custom_type->label = $custom_type->labels->name; $custom_type->singular_label = $custom_type->labels->singular_name; } break; } $cpt_name = ( ! empty($custom_type)) ? ( ($associated_posts == 1) ? $custom_type->singular_label : $custom_type->label) : ''; // Remove mention of WooCommerce from post type string $cpt_del_name = str_replace("WooCommerce", "", $cpt_name); } else{ $cpt_name = ''; $cpt_del_name = ''; } ?>
options['deligate']) and $item->options['deligate'] == 'wpallexport' and class_exists('PMXE_Plugin')): ?> getById($item->options['export_id']); if ( ! $export->isEmpty() ){ printf(__('

Important: this import was created automatically by WP All Export. All posts exported by the "%s" export job have been automatically associated with this import.

', 'wp_all_export_plugin'), esc_attr($export->friendly_name) ); } ?> label : ''; } ?>

%s %s', esc_attr($associated_posts), esc_attr($cpt_name)); ?> %s import'), empty($item->friendly_name) ? $item->name : $item->friendly_name);?>?