| Classes | |
|---|---|
| Fetch_Related_Image | Imports a related image from the API and saves it to the Wordpress media library. Only supports |
| Fields_To_Post | 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. |
| Fields_To_Postmeta | Saves one or more fields from the remote record direct to one of the destination post's meta fields. |
| Fields_To_Term_Names | Adds taxonomy terms (e.g. tags) to a post for each of the values found in one or more fields from the remote record. |
| Generic_Field_Task | Formats one or more field values from the remote record and saves them somewhere |
| Post_Defaults | Unlike other tasks, this doesn't have source fields, it just changes the defaults for the
post. Useful for setting a default post type or status. Only valid on |
| Related_Post_To_Postmeta | Some CultureHosts records refer to others, e.g. an event can have a venue_id. This task checks the local database to see if that referred-to record has already been imported and, if so, stores the resulting local post ID in postmeta, instead of the remote record ID. |
| Related_Records_To_Term_Names | Translates fields containing record IDs to the related record names and saves them as terms.
Especially useful for the |