Support » Plugin: WP Customer Reviews » Images & notifications

  • munchproducts


    Hi Aaron, thanks for the plugin. I made a donation to show my appreciation. I’ve just installed your plugin and have a couple of questions please. Firstly, I note in some other forum topics that others have mentioned images associated with reviews. I cannot see anywhere to enable a customer adding an image to a review. Secondly, is it possible to configure an email notification whenever a new review is submitted. Thanks.

Viewing 1 replies (of 1 total)
  • WebDevCo


    function after_review_post_created( $post_id ) {
    //no action if post type not review
    if (get_post_type($post_id) != ‘wpcr3_review’)
    // If this is a revision, don’t send the email.
    if ( wp_is_post_revision( $post_id ) )

    if (get_post_status( $post_id ) == ‘pending’ )

    // your email action

    $yoursubject = ‘New Review on’;

    $yourmessage = “a new review is pending approval “;

    // Send email.
    $adminemail = get_option( ‘admin_email’ );
    wp_mail( $adminemail, $yoursubject, $yourmessage );
    add_action( ‘wp_insert_post’, ‘after_review_post_created’);

    • This reply was modified 7 months ago by WebDevCo.
Viewing 1 replies (of 1 total)
  • The topic ‘Images & notifications’ is closed to new replies.