Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the community forum?
All Topics
Olli

Disable "Export to CSV"

It would be nice to have an option to disable the Export to CSV function. Is there a hook for that or do I have to use good old CSS display:none to do that?

6 days, 12 hours ago
Stefan
Developer

There are multiple ways to disable export.

1) It can be disabled on user level by disabling the button through the Screen options menu. This is a per-user solution.

2) Disable Export by the hook acp/export/is_active. This hook has a list screen param, so it’s even possible to disable export for specific overviews. To disable export for all users for all overview, you can use the following snippet.

add_filter(‘acp/export/is_active’, ‘__return_false’ );

4 days, 16 hours ago

You must be logged in to reply to this topic.