Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Enquiry
  5. Filter :wp_travel_frontend_enqueries_validation_check

Filter :wp_travel_frontend_enqueries_validation_check

Filter for validation check on frontend trip enquiry data.

Source

File: /inc/trip-enquiries.php
Used by: /inc/trip-enquiries.php

Parameters
$data

Example:

function prefix_wp_travel_frontend_enqueries_validation_check( $data ) {
    $data[‘status’] = false;
    return $data;
}
add_filter( 'wp_travel_frontend_enqueries_validation_check', 'prefix_wp_travel_frontend_enqueries_validation_check' );
Was this article helpful to you? Yes No

How can we help?