// 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');
}How to redirect to the requested URL after successful login in WordPress
To redirect a user to the requested URL after a successful login in WordPress, you can use the login_redirect filter hook in your theme’s functions.php

