WC_Product_CSV_Importer::parse_relative_comma_field
Parse relative comma-delineated field and return product ID.
Метод класса: WC_Product_CSV_Importer{}
Хуков нет.
Возвращает
array.
Использование
$WC_Product_CSV_Importer = new WC_Product_CSV_Importer(); $WC_Product_CSV_Importer->parse_relative_comma_field( $value );
- $value(строка) (обязательный)
- Field value.
Код WC_Product_CSV_Importer::parse_relative_comma_field() WC Product CSV Importer::parse relative comma field WC 11.3.0
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 ) ) );
}