Stop "Data Request Confirmed" Emails to the Admin
Stops WordPress emailing the site admin each time a user confirms a personal data export or erasure request; you can still see requests under Tools.
Opens WPIDE on
Code
add_action( 'init', function () {
remove_action( 'user_request_action_confirmed', '_wp_privacy_send_request_confirmation_notification', 12 );
} );
Notes
Users still receive their own confirmation and data emails; check Tools > Export/Erase Personal Data regularly instead.
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.