• Resolved ivaanramos

    (@ivaanramos)


    How can I edit the subject that is sent by default to the person who owns the page where the review is posted?

    I can edit the content of the mail, but can′t edit the subject.

    Pls help

    • This topic was modified 2 months ago by ivaanramos.
Viewing 1 replies (of 1 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    You can change the notification email subject with a PHP code snippet like this:

    add_filter('site-reviews/notification/title', function ($title, $review) {
    return sprintf('A review with a %s-star rating was submitted on your page.', $review->rating);
    }, 10, 2);
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.