Created
February 22, 2018 05:50
-
-
Save anonymous/c3fb5625994a80a9c9d7d44dfe378819 to your computer and use it in GitHub Desktop.
This file contains 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
function travel_log_change_book_now_text(){ | |
?> | |
<script type="text/javascript"> | |
jQuery(function($) { | |
$(window).load(function() { | |
jQuery('#wp-travel-book-now').val('Book later'); | |
}); | |
} ); | |
</script> | |
<?php | |
} | |
add_action('wp_footer', 'travel_log_change_book_now_text'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment