Skip to content

Instantly share code, notes, and snippets.

Created February 22, 2018 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/c3fb5625994a80a9c9d7d44dfe378819 to your computer and use it in GitHub Desktop.
Save anonymous/c3fb5625994a80a9c9d7d44dfe378819 to your computer and use it in GitHub Desktop.
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