Formatters can be used by tasks to convert data as it appears in CultureHosts to the format desirable for the local data structure.
public
run(mixed $value): mixed
Called for each field value being converted.
The current value of the field.
The reformatted value.
CultureHosts\WP\Importer\Service\Formatters\Force_Array::run()
CultureHosts\WP\Importer\Service\Formatters\Format_Boolean::run()
CultureHosts\WP\Importer\Service\Formatters\Sprintf_Values::run()
CultureHosts\WP\Importer\Service\Formatters\Format_Multiple_Values::run()
CultureHosts\WP\Importer\Service\Formatters\Format_Number::run()
CultureHosts\WP\Importer\Service\Formatters\Format_Tag::run()
CultureHosts\WP\Importer\Service\Formatters\Format_Date::run()
CultureHosts\WP\Importer\Service\Formatters\List_Values::run()