It all started with the fact that we did not receive email notifications when someone added a review/comment for a product. This was due to the fact that the author of the products appeared to be unknown/lost. So we added the following code in functions, to change the recipient:
function new_comment_moderation_recipients( $emails, $comment_id ) {
return array( 'example@example.com' );
}
add_filter( 'comment_moderation_recipients', 'new_comment_moderation_recipients', 24, 2 );
add_filter( 'comment_notification_recipients', 'new_comment_moderation_recipients', 24, 2 );
This seems to work, and we received the native wordpress email notification. However, we want more than just the email, we also would like to receive the rating from the reviews/comments and some conditions. So we found your plugin.
We do use a plugin for the reviews, the only extra things it does; it injects some extra fields like title and rating score. The rest is just the native wordpress comments, the evidence is the working native email notification from above.
This is what I created: screenshot, but it’s not firing anything.