wpcrmsystem_export_capability

The wpcrmsystem_export_capability filter is used to modify the capability that the user must have in order to export data from the site.

The value that is returned will be true or false (bool) based on the result of the current_user_can()function.

The current_user_can() function takes a capability parameter of the Access Level that is set in WP-CRM System > Dashboard > Settings.

  • Administrator: manage_options
  • Editor: edit_pages
  • Author: publish_posts
  • Contributor: edit_posts
  • Subscriber: read

If the Access Level is not set then, the capability parameter will default to manage_options.