Override the default temp directory used for exports in Store Exporter Deluxe

By default Store Exporter Deluxe uses the PHP temp directory for generating export files but on some misconfigured WordPress sites the ‘temp’ directory needs to be adjusted (e.g. where the open_basedir restriction is in effect but a valid tmp path has not been set).

The exposed WordPress Filter woo_ce_sys_get_temp_dir allows us to override the default temp directory used by Store Exporter Deluxe for generating export files. Add the following PHP snippet to your Child Theme’s functions.php file:

View Code

The We could not create a temporary export file in … ensure that WordPress can read and write files here and try again Troubleshooting resource expands further on this issue.

This entry was posted in . Bookmark the permalink.

Leave a Comment

Before you comment - Do you have a support request? If so, this is not the right place to post it. Please submit support requests for Premium Plugins on the Support page and in the community Support Forums for free Plugins.

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