403Webshell
Server IP : 213.32.127.20  /  Your IP : 216.73.216.239
Web Server : Apache
System : Linux ns3.servidorneptuno.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64
User : atoqsfjh ( 1072)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/local/sitepad/editor/site-data/plugins/kkart-pro/includes/admin/importers/mappings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/sitepad/editor/site-data/plugins/kkart-pro/includes/admin/importers/mappings/generic.php
<?php
/**
 * Generic mappings
 *
 * @package Kkart\Admin\Importers
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Add generic mappings.
 *
 * @since 3.1.0
 * @param array $mappings Importer columns mappings.
 * @return array
 */
function kkart_importer_generic_mappings( $mappings ) {
	$generic_mappings = array(
		__( 'Title', 'kkart' )         => 'name',
		__( 'Product Title', 'kkart' ) => 'name',
		__( 'Price', 'kkart' )         => 'regular_price',
		__( 'Parent SKU', 'kkart' )    => 'parent_id',
		__( 'Quantity', 'kkart' )      => 'stock_quantity',
		__( 'Menu order', 'kkart' )    => 'menu_order',
	);

	return array_merge( $mappings, $generic_mappings );
}
add_filter( 'kkart_csv_product_import_mapping_default_columns', 'kkart_importer_generic_mappings' );

Youez - 2016 - github.com/yon3zu
LinuXploit