WC_Product_CSV_Importer::parse_relative_comma_field( string $value )

Parse relative comma-delineated field and return product ID.


Description Description


Parameters Parameters

$value

(Required) Field value.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/import/class-wc-product-csv-importer.php

	public function parse_relative_comma_field( $value ) {
		if ( empty( $value ) ) {
			return array();
		}

		return array_filter( array_map( array( $this, 'parse_relative_field' ), $this->explode_values( $value ) ) );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.