Created
March 23, 2021 07:45
-
-
Save wptravel/7af5a1304c2e5a0b71e0497566bc902f to your computer and use it in GitHub Desktop.
Filter to redirect URL after booking
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 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