• Resolved daniel1009

    (@daniel1009)


    My client is not getting product reviews notifications. I don’t know who is getting them or how to change who gets them. Please help.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • mother.of.code

    (@imazed)

    The Mother of Code

    Hi there!

    By default WordPress sends a notification to the author of the product/post (the person who created the product in your instance). Therefore the site owner is not always the recipient of these notifications.

    Below is a trick to override the recipient for the comment/review notification, put this code in your child-theme’s functions.php and change the part [email protected] to your desired email recipient and you will receive a notification every time someone adds a comment/review to your site.

    
    function new_comment_moderation_recipients( $emails, $comment_id ) { 
        return array( '[email protected]' );
    }
    add_filter( 'comment_moderation_recipients', 'new_comment_moderation_recipients', 24, 2 );
    add_filter( 'comment_notification_recipients', 'new_comment_moderation_recipients', 24, 2 );
    
    Thread Starter daniel1009

    (@daniel1009)

    Thanks so much – That worked!

    mother.of.code

    (@imazed)

    The Mother of Code

    I’m glad to hear that! I’ll go ahead and set this topic to resolved, but please feel free to open a new one if you need help with anything else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce reviews notification email’ is closed to new replies.