0

I have to develop a plugin where it is required that each admin user should have different settings for the plugin. Forexample, email settings should be different for each user, lets say user A filled his settings and saved them, and now user B logs in , he shouldn't be seeing User A settings instead his settings form should be a new one just for him. I tried to look on google for it but apparently there are not many answers in this domain.

4
  • 2
    Why don’t you use user_meta for storing these settings? Jul 15, 2018 at 22:07
  • That's a good option. But i wanted to use native plugin settings options method. But if there is no other way then i will go for meta. Thanks for response. Jul 15, 2018 at 23:52
  • Handy: justintadlock.com/archives/2009/09/10/…
    – anmari
    Jul 16, 2018 at 2:11
  • user_meta functions are the native functions to handle what you want to do.
    – mmm
    Jul 16, 2018 at 5:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.