Hello. I cannot seem to find instructions for this in the Codex or on the forums…
What I want to do is add an options page to the dashboard, that is visible to all users.
This, I have succeeded in doing, using the settings API.
However, I do not want the saved settings to be stored in wp_options in the way that an administrator’s control panel would. I want the settings to be stored in usermeta, on a per-user basis.
For example, if the settings page has the following two checkboxes:
[ ] Likes Cats
[ ] Likes Dogs
I want a successful save of the settings on that page to write the data to usermeta, so that each user can have their own cat/dog preferences.
I cannot seem to find anything telling me how to make the Setting API do this.
In short, How do I use the Setting API to save settings to usermeta for the current user?
Thank you for your time 🙂
* http://blog.ftwr.co.uk/archives/2009/07/19/adding-extra- user-meta-fields/
Helpful, but not what I am looking for.
I should have been more specific:
All of those links talk about adding options to the Dashboard > Profile > Your Profile page.
I want to add a new page, visible to all users, at Dashboard > Profile > Profile Page.
On that new page, I want to be able to create fields that update usermeta.
Is there any way to do that? I have not been able to find anything.
- The topic ‘Add per-user options page to dashboard.’ is closed to new replies.