cwcfp_export_capability
The cwcfp_export_capability
filter provides you with a way to adjust the minimum capability that a user must have in order to be able to export data from Conditional Checkout Fields.
The filter should return true
or false
.
The filter is passed one argument, which is the value of current_user_can( 'manage_options' )
. If the current user has this capability, then they are allowed to export. If not, they cannot export.