Custom fields added by plugins - when would they be visible?

I’m trying to do the same … what would be a cleaner way?