This tutorial contains the code which enables you to hide empty property details field in the AgentPress Pro child theme by StudioPress.
The AgentPress Listings plugin generates different custom fields on each single listings edit screen which are all printed regardless of whether they contain data or not as you can see in the following image:
You can see that all fields are output regardless of whether they are empty or contain a value.
The code in this tutorial only prints the fields which contain data as you can see in the following screen shot:
Here’s the file which contains the code: