Woocommerece Add To Cart Button Text on Single Product Page

add_filter( 'add_to_cart_text', 'freelancedev_custom_single_add_to_cart_text' );               
add_filter( 'woocommerce_product_single_add_to_cart_text', 'freelancedev_custom_single_add_to_cart_text' ); 
  
function freelancedev_custom_single_add_to_cart_text() {
    return __( 'Buy Now', 'woocommerce' );
}