WC_Product_CSV_Importer::parse_customs_field │ public │ WC 11.3.0

Parse a customs field.

Skips wc_clean(), which would drop digits from codes such as "0901%210010" and encode a lone "<". The product setters validate the value.

Method of the class: WC_Product_CSV_Importer{}

No Hooks.

Returns

string.

Usage

$WC_Product_CSV_Importer = new WC_Product_CSV_Importer();
$WC_Product_CSV_Importer->parse_customs_field( $value );
$value(string) (required)
Field value.

Changelog

Since 11.3.0 Introduced.

WC_Product_CSV_Importer::parse_customs_field() code WC 11.3.0

public function parse_customs_field( $value ) {
	return $this->unescape_data( $value );
}