Skip to content

Instantly share code, notes, and snippets.

/WP Travel customize
Created Feb 22, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.