WC_Product_CSV_Importer::parse_customs_field
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.
Метод класса: WC_Product_CSV_Importer{}
Хуков нет.
Возвращает
string.
Использование
$WC_Product_CSV_Importer = new WC_Product_CSV_Importer(); $WC_Product_CSV_Importer->parse_customs_field( $value );
- $value(строка) (обязательный)
- Field value.
Список изменений
| С версии 11.3.0 | Введена. |
Код WC_Product_CSV_Importer::parse_customs_field() WC Product CSV Importer::parse customs field WC 11.3.0
public function parse_customs_field( $value ) {
return $this->unescape_data( $value );
}