How to display dialog box to save file from wp_filesystem->put_contents function?
… instead of saving the file on the server I would like to display browser dialog box to save the file with this content on local disk The answer is that that is not what the Filesystem API does. You are trying to, or hoping to, use it incorrectly. It doesn’t work that way. The … Read more