From b96dbfec4239eb90df08c7f0c5d90c288a5d814f Mon Sep 17 00:00:00 2001 From: Paul Kilmurray Date: Wed, 20 Mar 2024 18:41:00 +0000 Subject: [PATCH] Update blueprint.json --- .wordpress-org/blueprint.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.wordpress-org/blueprint.json b/.wordpress-org/blueprint.json index 3dfa5f2..617c092 100644 --- a/.wordpress-org/blueprint.json +++ b/.wordpress-org/blueprint.json @@ -44,8 +44,8 @@ } }, { - "step": "wpCLI", - "command": "wp wc product import wp-content/plugins/woocommerce/sample-data/sample_products.csv --user=admin" + "step": "runPHP", + "code": " ',', // CSV delimiter\n 'start_pos' => 0, // Starting position\n 'mapping' => [], // Column mapping, leave empty for automatic mapping\n 'parse' => true, // Parse file\n ];\n\n $importer = new WC_Product_CSV_Importer($import_file, $args);\n $results = $importer->import();\n}\n" }, { "step": "runPHP",