Add stars rating in Woocommerce product tab section

add_filter( 'woocommerce_product_reviews_tab_title', 'add_stars_to_reviews_tab_item', 98 );
function add_stars_to_reviews_tab_item( $title ) {
    global $product;

    $average_rating = $product->get_average_rating();

    if( ! empty($average_rating) && $average_rating > 0 )
        $title = '<div>' . $title . '</div>
        <div class="stars">' . wc_get_rating_html($average_rating) . '</div>';

    return $title;
}

 

In case of any complain or © copyright or issues please check disclaimer page for faster resolutions.