View Categories

Filters Associated With Privacy Policy

Filter: wptravel_enable_privacy_policy_checkout_box_enquiry_form #

To remove the privacy policy option from Trip Enquiry.

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

Filter: wptravel_booking_privacy_policy_text #

This function is used to modify the accepted privacy policy text in the admin booking table.

add_filter( 'wptravel_booking_privacy_policy_text', function() {
    return 'This is my custom privacy policy text in booking table.';
});