How to programmatically hide field from display? I want to reproduce programmatically hiding of a field that can be obtain by Manage Display -> Format -> (hidden) 

URL: admin/config/people/accounts/fields.

Field I want to hide is added by OG module. Probably. Machine name: og_user_user.

I found one solution based on hook_field_access but I need to find other. 

This solution doesn't help me too.
Solution is pretty damn simple. I forgot about field_update_instance function.

To get data for passing to this function there is a need of debug: field_ui_display_overview_form_submit 

where all Manage Display forms are submitted.

I end up using custom drush command after all custom modules are installed