• Resolved DSaxon101

    (@dsaxon101)


    I was wondering if you could help me understand how can i change the directory path to save csv. I am running WordPress on heroku and therefore can not write to the server and was trying to see if i can have the file saved to Amazon S3

Viewing 1 replies (of 1 total)
  • Plugin Author Ankit Gade

    (@wpgurudev)

    Hi,

    You can use wsoe_get_upload_dir filter.

    You can do something like following. Add following function to functions.php file of active theme.

    function change_wsoe_upload_dir( $path ) {
    	
    	return $path = 'path-to-save';
    }
    add_filter( 'wsoe_get_upload_dir', 'change_wsoe_upload_dir' );

    You can replace, 'path-to-save' by the actual path to save csv file.

    Regards,
    Ankit

Viewing 1 replies (of 1 total)
  • The topic ‘change directory path to save csv’ is closed to new replies.