WP-Hook: manipulate CSV import data

Since the CSV data does not always come in the right format and you might like to change or add values, we have inserted a hook for this.

Override CSV-line

This function is called before the CSV line is written to the database. You can edit the values as desired and re-write them back into the array. Adding values does not work.

Parameter Description
data The Array with the values. The array corresponds to a data record.
Return value The overridden values.

 

Tip: Use a plugin like  My Custom Functions  or a child theme to build your hooks!

Do you still have questions? No problem :-)
We are happy to answer your questions in our forum.