How do I remove the custom content if a merge tag is empty?

Since GravityView version 1.6.2

If you added a custom content field to your View and its content depends on a merge tag (relative to an entry's field), you'd probably would like to not show anything in case that entry's field is empty.

To enable this logic you would need to adapt and paste the following code into your theme's functions.php file ( see how):