WC_Product_Importer::explode_values_formatter()protectedWC 3.2.0

Remove formatting and trim each value.

Method of the class: WC_Product_Importer{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->explode_values_formatter( $value );
$value(string) (required)
Value to format.

Changelog

Since 3.2.0 Introduced.

WC_Product_Importer::explode_values_formatter() code WC 8.7.0

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