Skip to content

Instantly share code, notes, and snippets.

@wptravel
wptravel / Redirection URL
Created Mar 23, 2021
Filter to redirect URL after booking
View Redirection URL
function custom_thankyou_url( $url ) {
return 'http://yoursite.com/thankyou';
}
add_filter( 'wp_travel_thankyou_page_url', 'custom_thankyou_url' );