Lines:
1 to 58 of 58
<?php /** * WooCommerce Product CSV importer * * @package WooCommerce\Import * @version 3.1.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Include dependencies. */ if ( ! class_exists( 'WC_Product_Importer', false ) ) { include_once dirname( __FILE__ ) . '/abstract-wc-product-importer.php'; } if ( ! class_exists( 'WC_Product_CSV_Importer_Controller', false ) ) { include_once WC_ABSPATH . 'includes/admin/importers/class-wc-product-csv-importer-controller.php'; } /* class WC_Product_CSV_Importer */ /* function WC_Product_CSV_Importer::__construct() – Initialize importer. */ /* function WC_Product_CSV_Importer::read_file() – Read file. */ /* function WC_Product_CSV_Importer::remove_utf8_bom() – Remove UTF-8 BOM signature. */ /* function WC_Product_CSV_Importer::set_mapped_keys() – Set file mapped keys. */ /* function WC_Product_CSV_Importer::parse_relative_field() – Parse relative field and return product ID. */ /* function WC_Product_CSV_Importer::parse_id_field() – Parse the ID field. */ /* function WC_Product_CSV_Importer::parse_relative_comma_field() – Parse relative comma-delineated field and return product ID. */ /* function WC_Product_CSV_Importer::parse_comma_field() – Parse a comma-delineated field from a CSV. */ /* function WC_Product_CSV_Importer::parse_bool_field() – Parse a field that is generally ‘1’ or ‘0’ but can be something else. */ /* function WC_Product_CSV_Importer::parse_float_field() – Parse a float value field. */ /* function WC_Product_CSV_Importer::parse_stock_quantity_field() – Parse the stock qty field. */ /* function WC_Product_CSV_Importer::parse_tax_status_field() – Parse the tax status field. */ /* function WC_Product_CSV_Importer::parse_categories_field() – Parse a category field from a CSV. */ /* function WC_Product_CSV_Importer::parse_tags_field() – Parse a tag field from a CSV. */ /* function WC_Product_CSV_Importer::parse_tags_spaces_field() – Parse a tag field from a CSV with space separators. */ /* function WC_Product_CSV_Importer::parse_shipping_class_field() – Parse a shipping class field from a CSV. */ /* function WC_Product_CSV_Importer::parse_images_field() – Parse images list from a CSV. Images can be filenames or URLs. */ /* function WC_Product_CSV_Importer::parse_date_field() – Parse dates from a CSV. */ /* function WC_Product_CSV_Importer::parse_backorders_field() – Parse backorders from a CSV. */ /* function WC_Product_CSV_Importer::parse_skip_field() – Just skip current field. */ /* function WC_Product_CSV_Importer::parse_download_file_field() – Parse download file urls, we should allow shortcodes here. */ /* function WC_Product_CSV_Importer::parse_int_field() – Parse an int value field */ /* function WC_Product_CSV_Importer::parse_description_field() – Parse a description value field */ /* function WC_Product_CSV_Importer::parse_published_field() – Parse the published field. 1 is published, 0 is private, -1 is draft. */ /* function WC_Product_CSV_Importer::get_formating_callback() – Deprecated get formatting callback method. */ /* function WC_Product_CSV_Importer::get_formatting_callback() – Get formatting callback. */ /* function WC_Product_CSV_Importer::starts_with() – Check if strings starts with determined word. */ /* function WC_Product_CSV_Importer::expand_data() – Expand special and internal data into the correct formats for the product CRUD. */ /* function WC_Product_CSV_Importer::set_parsed_data() – Map and format raw data to known fields. */ /* function WC_Product_CSV_Importer::get_row_id() – Get a string to identify the row from parsed data. */ /* function WC_Product_CSV_Importer::import() – Process importer. */