woocommerce_product_import_before_process_item action-hookWC 1.0

Process a single item and save.

Usage

add_action( 'woocommerce_product_import_before_process_item', 'wp_kama_woocommerce_product_import_before_process_item_action' );

/**
 * Function for `woocommerce_product_import_before_process_item` action-hook.
 * 
 * @param array $data Raw CSV data.
 *
 * @return void
 */
function wp_kama_woocommerce_product_import_before_process_item_action( $data ){

	// action...
}
$data(array)
Raw CSV data.

Where the hook is called

WC_Product_Importer::process_item()
woocommerce_product_import_before_process_item
woocommerce/includes/import/abstract-wc-product-importer.php 227
do_action( 'woocommerce_product_import_before_process_item', $data );

Where the hook is used in WooCommerce

Usage not found.