Support » Plugin: bbPress Notify (No Spam) » Exclude a admin user from being notified?

  • Resolved Chuckie

    (@ajtruckle)


    I have a temporary user that is set as admin.

    They are my theme developer

    The problem is that any admin related thing (like bbpress new topic) is being sent to him which in turn is being converted into a support ticket request on his system.

    This must be annoying for him. Can I exclude a specific admin user from being notified?

Viewing 1 replies (of 1 total)
  • Plugin Author useStrict

    (@usestrict)

    Hi @ajtruckle,

    Yes, you can via a filter in your child theme’s functions.php file:

    add_filter( 'bbpnns_skip_notification', function($email, $user_info){
    
        if ( 'the_email_to_skip' === $email ) {
            return '';
        }
    
        return $email;
    }, 10, 2);

    Cheers,
    Vinny

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude a admin user from being notified?’ is closed to new replies.