Redirection after Booking

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #3513

    Thank you very much for the amazing plugin and theme.

    Is there a way i can redirect to a new page after the booking form successfully submitted using functions.php.

    Thanks and Regards

    Support Team

    Hello @santosh,

    First of all thank you very much for trying out the WP Travel plugin and also would like to thank you for the appreciations.

    You can definitely redirect to a new page submitting the Booking form and for this, you have to update your plugin to the recent version i.e. version 1.0.6 which has been released just now and then use the filter to change the URL.

    For this, you have to create the child theme.

    You can even create the child theme using the plugin given below:

    After activating the child theme in your child theme functiosn.php file paste below given code.

    function custom_thankyou_url( $url  ) {
        return '';
    add_filter( 'wp_travel_thankyou_page_url', 'custom_thankyou_url' );

    Here replace the URL with your URL that you want to redirect with.

    Hope this helps.

    If you have any confusion/query regarding the plugin then please feel free to post.

    Best Regards!!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WP Travel’ is closed to new topics and replies.