Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Enquiry
  5. Filter :apply_filters( wp_travel_admin_enquiry_data, $enquery_data )

Filter :apply_filters( wp_travel_admin_enquiry_data, $enquery_data )

Filter before saving admin enquiry data.

Source

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

Parameters
$enquery_data

Example:

function prefix_wp_travel_admin_enquiry_data( $enquery_data ) {
    // Code here.
    return $enquery_data;
}
add_filter( 'wp_travel_admin_enquiry_data', 'prefix_wp_travel_admin_enquiry_data' );
Was this article helpful to you? Yes No

How can we help?