get current product name in functions.php

Please check below code :

add_action( 'woocommerce_single_product_summary','content_after_addtocart_button' );
function content_after_addtocart_button() { 

    global $product;

    $product_title = $product->get_name();
    $product_price = $product->get_price();

    echo '<div class="content-section">
    <a href="https://wordpress.stackexchange.com/questions/340361/mailto:[email protected]?&subject=Richiesta Informazioni&body=" . $product_title . '??? ' . $product_price . ' ??? ">
    <input type="button" value="Richiedi Informazioni"/ ></a></div>'; 
}