• Resolved Muhammad Assane

    (@programmer4techybirds)


    Hello,

    I have an export where I’ve used acf field of an image repeater.
    I get all the image links in the csv file but I want to chenge the delimiter from “|” to something like ” | ” so the url’s are separated.

    Thank you in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter Muhammad Assane

    (@programmer4techybirds)

    I figured it out.

    I checked the “Export the value returned by a PHP function” checkbox.
    And used this function:

    function my_replace_delimiter( $data ) {
    	return str_replace( '|', ' , ', $data );
    }

    Thank You

Viewing 1 replies (of 1 total)
  • The topic ‘How to change delimiter while exporting csv’ is closed to new replies.