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.
-
2Why don’t you use user_meta for storing these settings?– Krzysiek Dróżdż ♦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.– Abdullah KhanJul 15, 2018 at 23:52
-
Handy: justintadlock.com/archives/2009/09/10/…– anmariJul 16, 2018 at 2:11
-
user_meta functions are the native functions to handle what you want to do.– mmmJul 16, 2018 at 5:11
Add a comment
|