Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Filter to redirect URL after booking
function custom_thankyou_url( $url ) {
return 'http://yoursite.com/thankyou';
}
add_filter( 'wp_travel_thankyou_page_url', 'custom_thankyou_url' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment