woocommerce_product_import_inserted_product_object

woocommerce_product_import_inserted_product_object

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_product_import_inserted_product_object') is found 1 times:

  • /includes/import/abstract-wc-product-importer.php line 284
     
    			$object = apply_filters( 'woocommerce_product_import_pre_insert_product_object', $object, $data );
    			$object->save();
    
    			do_action( 'woocommerce_product_import_inserted_product_object', $object, $data );
    
    			return array(
    				'id'           => $object->get_id(),
    				'updated'      => $updating,
    				'is_variation' => $is_variation,
    			);
    

See this hook used in plugins: