@rgbjoy, @zeinnicholas,
Sorry, could you please explain your use case more in-depth?
Thank you.
Corey, sorry for the wait.
in my case the problem is, when the field is empty I cannot make it disappear using if get_field('field_name') or if the_field('field_name') because it will output an array (even if it’s empty). So, my field label keeps showing even if it hasn’t any values.
I could hide it using Javascript, but the function is already there in ACF. It would be a lot more straight forward.
Thanks any way. I ended up using the relational field type. But your plugin is very useful!