Multisite: How can I show App ID/Secret fields to super admin only?
We use only one Facebook app across our multisite network. We have a default setting where when a new blog is created, Facebook App ID and Secret are automatically set up in Facebook plugin.
Blogs admins should be able tweak options to their liking but should not be able to see App ID and Secret fields. Only super admin should be able to see them.
WHAT I TRIED
I hid the output of
fb_get_main_settings_fields()to all but super admin. The problem is, when admins who don’t see main settings save their Facebook settings, the plugin reset and App ID & Secret are deleted.
- The topic ‘Multisite: How can I show App ID/Secret fields to super admin only?’ is closed to new replies.