Changing Where Enquiries Get Sent

Changing Where Enquiries Get Sent

The enquiries will go to the office that the property is assigned to. Offices can be configured under ‘Property Hive > Settings > Offices’.

If no office is assigned to a property (though this scenario shouldn’t be possible) it will go to the primary office.

If an email address hasn’t been found at this point it will fall back to sending the WordPress administrator and sent the enquiry to them.

Should you wish to completely customise where enquiries get sent, we have a WordPress filter available which can be used like so:

add_filter( 'propertyhive_property_enquiry_to', 'custom_enquiry_to_address', 10, 2 );
function custom_enquiry_to_address( $to, $property_id )
{
    return 'custom@emailaddress.com';
}
  • 26th October 2017