function to replace string not working in WP All Export

here is my thing, id like on export to remove one string in the csv file which appear in the html.

This is to remove some string added from visual composer ( text field).

I would like to remove / or change some of content on the exported csv file

For this i go in the settings of wp all export, and add a function in the editor: such as:

function corrige_text($ref) {
return str_replace( “wordtomove”,”newone”,$ref);
}

however its not working . . .

Any idea why ?

Thanks a lot !!

Read more here:: function to replace string not working in WP All Export

Leave a Reply

Your email address will not be published. Required fields are marked *