Is there an action or filter that can be used to prevent a field from rendering on the edit page? I have a theme where an administrator can add the code for the a twitter widget to a field in an options page. Then my hope is that I can set up a field so that if that twitter code exists, a checkbox shows up on when editing the homepage, but if it doesn’t exist, no checkbox will show up.
I’ve tried return false from the acf/render_field filter, but that doesn’t work. I’m pretty sure I could use the acf/load_field filter, but that’s a bit more dangerous since that’s called in a number of other places.