Customizing your inquiry form can significantly improve the user experience by removing unnecessary fields. If you want to streamline the form by removing the “Subscribe” and “Privacy Policy” options, follow the simple steps outlined below.

Remove the “Subscribe” Field from the Trip Inquiry Form

  • Navigate to Admin Panel > WP Travel > Settings > Miscellaneous > Third Party Integration > Form.
  • Under the Form settings, select the Checkout Option Only.
  • Save the changes.
Settings to remove "Subscribe" field from the trip inquiry form

This ensures the “Subscribe” field is not displayed in the inquiry form.

Remove the Privacy Policy Checkbox from the Trip Inquiry Form

To disable the Privacy Policy Checkbox from the trip inquiry form, add the following code to yourΒ functions.phpΒ file or by using aΒ code snippet.

add_filter('wptravel_enable_privacy_policy_checkout_box_enquiry_form', function() {
    return false;
});

For detailed information on creating a child theme, please refer to our KnowledgeBase.

This snippet disables the Privacy Policy checkbox specifically for the inquiry form.

Conclusion

By following the above easy steps you can remove the “Subscribe” and “Privacy Policy” fields from the trip inquiry form.

Check WP Travel documentation to learn more about configurations, modules, payments, shortcodes, and the WP Travel Rest API.

Your feedback helps us improve. Please share your thoughts.

Need assistance? Contact our support team, join our Facebook community, and subscribe to our YouTube Channel for video tutorials. Thank you for choosing WP Travel.

Get WP Travel Pro