Skip to content

Commit b0b6c7e

Browse files
committed
Update blueprint.json
1 parent b96dbfe commit b0b6c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.wordpress-org/blueprint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
},
4646
{
4747
"step": "runPHP",
48-
"code": "<?php\nrequire_once(ABSPATH . 'wp-load.php');\n\nif (class_exists('WC_Product_CSV_Importer')) {\n $import_file = ABSPATH . 'wp-content/plugins/woocommerce/sample-data/sample_products.csv';\n $args = [\n 'delimiter' => ',', // 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"
48+
"code": "<?php\nrequire_once 'wp-load.php';\n\nif (class_exists('WC_Product_CSV_Importer')) {\n $import_file = ABSPATH . 'wp-content/plugins/woocommerce/sample-data/sample_products.csv';\n $args = [\n 'delimiter' => ',', // 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"
4949
},
5050
{
5151
"step": "runPHP",

0 commit comments

Comments
 (0)