Saves one or more fields from the remote record direct to one of the destination post's properties,
e.g. post_title or post_content.
Located at culturehosts-importer/src/Service/Tasks/Fields_To_Post.php
| Methods |
public
|
__construct(string|string[] $source_fields, string $post_field, array|Formatter|callable $formatters = [])
Set the source fields and destination post fields for this task.
Set the source fields and destination post fields for this task.
Parameters
| $source_fields |
Field names as found in the CultureHosts record
|
| $post_field |
The destination post field, e.g. post_title
|
| $formatters |
The formatters to pass the field values through
|
Overrides
|
#
|