1. Home
  2. Documentations
  3. Developer Documentation
  4. Filters
  5. wp_travel_thankyou_page_url

wp_travel_thankyou_page_url

Filter Hook:

wp_travel_thankyou_page_url

Description: This filter hook is used to redirect to a new page submitting the Booking form.

Example:

Replacing the URL to redirect to the page of your choice after submitting the Booking Form.

function custom_thankyou_url( $url  ) {
    return 'http://yoursite.com/thankyou';
}

add_filter( 'wp_travel_thankyou_page_url', 'custom_thankyou_url' );

How can we help?