Forums
Forums / Plugin: WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets / Edit multiple parts
(@ricsca2)
5 years, 10 months ago
If I need to change multiple parts in the description, how should I write this code?
[str_replace("\n","",{descrizione[1]})]
Written like this it removes only “/n” but if I wanted to remove or modify “/n” but also the field “/7”? Thank you
(@wpallimport)
Hi @ricsca2,
You can pass arrays to str_replace to make multiple replacements: https://www.php.net/manual/en/function.str-replace.php.
5 years, 9 months ago
Hey @ricsca2,
I’m going to mark this as resolved since we haven’t heard from you in a while. Let us know if you still have questions about this.
Anyone else, please open a new topic.
The topic ‘Edit multiple parts’ is closed to new replies.