|
/ Documentation /Developer Hooks & Events/ suredonation_privacy_data_exported Action Hook

suredonation_privacy_data_exported Action Hook

Overview

The suredonation_privacy_data_exported action fires when a WordPress personal-data export that includes SureDonation data completes specifically on the final export batch. Use it to log a completed export or to append your own export cleanup.

Hook Signature

do_action( 'suredonation_privacy_data_exported' );

Parameters

This action passes no parameters.

Usage

add_action( 'suredonation_privacy_data_exported', 'your_custom_function' );

function your_custom_function() {

    // Your custom logic here.

}

Example

add_action( 'suredonation_privacy_data_exported', 'mysite_note_export' );

function mysite_note_export() {

    error_log( 'A SureDonation personal-data export finished for the current user.' );

}

Related Hooks

None.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top