1
vote
1answer
423 views

Export data as CSV in back end with proper HTTP headers

I wrote a plugin that displays all products in a woocommerce store in admin settings option, now I want to add a link to download the products as CSV file. The problem is, when I click the link I get ...
0
votes
1answer
345 views

insufficient permissions; coding an action for plugin governed by custom capability

I'm working on a modification to WP Super Cache which adds two new capabilities to give more control of restriction to certain features. My goal is to a) allow Editors to see the Delete Cache button ...
0
votes
1answer
2k views

Failed to Open Stream: Permission Denied While Writing to an XML File in a WordPress Plugin

I'm trying to write to an XML file in a WordPress Plugin. I'm on my local machine, a Mac running MAMP. I have PHP 5.2.13 My code is: $file_handle = fopen('markers.xml', 'w'); $stringdata = "Test ...