
Exclude Settings from Exports
The Give Export feature allows you to export Give Core and add-on settings. But some add-ons like payment gateways have sensitive information which you may not want to expose in an export. This can be done using a filter called give_settings_export_excludes.
For example, if you want to exclude your Stripe and PayPal credentials from exporting, you can add the following custom snippet to your website:
Once that function is in place, you will see the following checkboxes in your Export Give Settings:

Now, when you click the “Export JSON” button, it exports all the Give settings but excludes the Stripe and PayPal settings that you’ve checked.
There are many more options as well. You can extend the function to exclude older PayPal settings, the Mailchimp API, your Give add-ons license keys, and more. The following snippet is a good starting example: