Viewing 5 replies - 1 through 5 (of 5 total)
  • @saurabhj91 You can remove the vendor review option from the email by overriding the email template.

    Thread Starter Saurabh Jain

    (@saurabhj91)

    Hi Team,

    I looked for the template but unable to get which template you are using for sending new/completed order.

    Use this cpde to remove the vendor review from email.

    add_action('init', 'remove_review_rating');
    function remove_review_rating(){
    global $WCMp;
    remove_action('woocommerce_order_item_meta_end', array($WCMp->review_rating , 'wcmp_review_rating_link', 10, 3);
    }
    add_action('init', 'remove_review_rating');
    
    function remove_review_rating() {
       global $WCMp;
       remove_action('woocommerce_order_item_meta_end', array($WCMp->review_rating, 'wcmp_review_rating_link'), 10, 3);
    }
    
    Thread Starter Saurabh Jain

    (@saurabhj91)

    Hi @dualcube,

    Thanks for the snippet.

    @saurabhj91 You are welcome:-)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mail – Remove Vendor Review’ is closed to new replies.