Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mihdan

    (@mihdan)

    1. Login to your WordPress dashboard. In the menus, go to: Settings ? Discussion. Then look at where it says “Email me whenever” and un-check the boxes there.

    Screenshot

    2. The first filter is to stop wp_notify_postauthor() and the second to stop wp_notify_moderator()

    
    <?php
    add_filter( 'comment_notification_recipients', '__return_empty_array', PHP_INT_MAX );
    add_filter( 'comment_moderation_recipients',   '__return_empty_array', PHP_INT_MAX );
    

    where we use an empty $emails array to prevent any notification emails from being sent.

    • This reply was modified 7 years, 1 month ago by mihdan.
    • This reply was modified 7 years, 1 month ago by mihdan.
    Thread Starter Humiges

    (@humiges)

    Thank you for your kind reply @mihdan,

    sorry, I’m a bit confused… will your solution prevent showing the links in emails and still send the emails and notifications?

    I wish to keep sending emails and notifications.

    Thank you very much ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Urgent – Serious Email Data Privacy Issue’ is closed to new replies.