If you’re using tracking codes (i.e Facebook Pixel) or analytics to measure property enquiries you might want to redirect the user to a new URL once an enquiry has been made. You can do this by adding the following to your themes functions.php file:
add_filter('propertyhive_make_property_enquiry_params', 'set_redirect_url'); function set_redirect_url( $params ) { $params['redirect_url'] = '/thank-you/'; // set this to the URL you wish to redirect them to return $params; }