Created
March 13, 2019 14:48
-
-
Save rvdsteege/95f4f8cd902eeac9ecc3384620db1715 to your computer and use it in GitHub Desktop.
Pronamic Pay privacy erasure by email address.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Pronamic Pay privacy erasure by email address. | |
*/ | |
$emails = array(); | |
$privacy_erasers = pronamic_pay_plugin()->privacy_manager->register_erasers( array() ); | |
foreach ( $emails as $email ) { | |
foreach ( $privacy_erasers as $eraser ) { | |
call_user_func( $eraser['callback'], $email ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment