Search
Close this search box.

How To Change the Default “Add To Cart” Button Text in WooCommerce

// Disable search in WordPress - More snippets at wpunplugged.com 

add_filter('woocommerce_product_single_add_to_cart_text', 'woo_custom_cart_button_text');
 
function woo_custom_cart_button_text() {
return __('Book Now', 'woocommerce');
}

Share this post

You might also like...

WP Rocket for WordPress Review
Cache

WP Rocket for WordPress Review

WP Rocket is a popular WordPress plugin that offers comprehensive caching and optimization solutions for WordPress websites. It is designed to help improve website performance,

Read More »

Comment

Your email address will not be published. Required fields are marked *