Last active
August 4, 2019 18:10
-
-
Save WillBrubaker/dbd3d21da0af6695f2de to your computer and use it in GitHub Desktop.
Change WooCommerce Bookings "Check Availability" button text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//not sure what to do with this code snippet? See https://www.thathandsomebeardedguy.com/what-do-i-do-with-these-code-snippets/ | |
add_filter( 'woocommerce_booking_single_check_availability_text', 'wooninja_booking_check_availability_text' ); | |
function wooninja_booking_check_availability_text() { | |
return "MY CUSTOM TEXT"; | |
} |
not working when applied to themes function.php file
Works like a charm. Thanks!
Yes it works fine in the functions.php. Shwee-eet! Thanks!
Applied to functions.php and it works perfectly. Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where to apply code?