How To Change the “Add To Cart” Button Text in WooCommerce
Use this simple code for changing the button text from “Add to Cart” to sothing else. add_filter(‘single_add_to_cart_text’, ‘woo_custom_cart_button_text’); function woo_custom_cart_button_text() { return __(‘Buy Ticket Online’, ‘woocommerce’); } With above code you can change the Text of your button. Just copy and add above code to the function.php of your website. Just change the file…