WordPress at a glance
function is not described

wc_importer_wordpress_mappings() WC 3.1.0

Add mappings for WordPress tables.

No Hooks.

Return

Array.

Usage

wc_importer_wordpress_mappings( $mappings );
$mappings(array) (required)
Importer columns mappings.

Changelog

Since 3.1.0 Introduced.

Code of wc importer wordpress mappings: woocommerce/includes/admin/importers/mappings/wordpress.php WC 3.7.0

<?php
function wc_importer_wordpress_mappings( $mappings ) {

	$wp_mappings = array(
		'post_id'      => 'id',
		'post_title'   => 'name',
		'post_content' => 'description',
		'post_excerpt' => 'short_description',
		'post_parent'  => 'parent_id',
	);

	return array_merge( $mappings, $wp_mappings );
}