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",