WC_Product_Importer::explode_values_formatter()protectedWC 3.2.0

Remove formatting and trim each value.

Метод класса: WC_Product_Importer{}

Хуков нет.

Возвращает

Строку.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->explode_values_formatter( $value );
$value(строка) (обязательный)
Value to format.

Список изменений

С версии 3.2.0 Введена.

Код WC_Product_Importer::explode_values_formatter() WC 8.7.0

protected function explode_values_formatter( $value ) {
	return trim( str_replace( '::separator::', ',', $value ) );
}