Support » Plugin: Options Framework » Assistance with creating some options as Network Admin only?

  • Hello. I asked about this 2 years ago, but it’s come up again and I was hoping you could help point me in the right direction 🙂

    Your replied suggestion didn’t address my situation, because it still put all of the Options as editable or not editable by Site Admins, and I’m looking to do something where Site Admins have access to SOME of the options, but not all of them.

    I’ve been investigating your code quite a bit, but I can’t find a way to extend it with Filters without modifying your plugin, and was hoping you might have some ideas.

    I thought I might be able to filter the theme options that are rendered to the user, and remove any that were set with something like ‘networkadminonly’ from display if the user was only a Site Admin, then, just prior to saving, filter the theme options again to fetch any such options and make sure they are preserved during the save. However, I don’t see such filters. (I found one to modify the Options file _location_, but not one to actually adjust the Options array itself.)

    I believe that you do NOT want to add this ‘networkadminonly’ parameter to your plugin, but am hoping you might have suggestions to accomplish this in another way.


  • The topic ‘Assistance with creating some options as Network Admin only?’ is closed to new replies.