Make WordPress Core


Ignore:
Timestamp:
05/10/2018 08:42:15 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Send an email notification to the user once their personal data erasure request is fulfilled.

Props desrosj, allendav, garrett-eclipse.
Fixes #43973.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/user.php

    r43212 r43230  
    982982    _wp_privacy_completed_request( $request_id );
    983983
     984    /**
     985     * Fires immediately after a personal data erasure request has been marked completed.
     986     *
     987     * @since 4.9.6
     988     *
     989     * @param int $request_id The privacy request post ID associated with this request.
     990     */
     991    do_action( 'wp_privacy_personal_data_erased', $request_id );
     992
    984993    return $response;
    985994}
Note: See TracChangeset for help on using the changeset viewer.