Opened 15 years ago
Closed 9 years ago
#13548 closed enhancement (duplicate)
Settings API to include user options
Reported by: | neoxx | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.7 |
Component: | Plugins | Keywords: | |
Focuses: | Cc: |
Description
Hi,
I've reworked all of my plugins to build upon the new Settings API. The handling and security are great.
As far as I understand, the Settings API can't be used for user options. - What do you think about an extension of register_setting
& Co. to reflect user options?
Greetz,
Berny
Change History (14)
#2
@
14 years ago
- Keywords user user_option register_setting api profile added; close removed
Sure, you can use update_user_option
to add/change user-specific values.
Anyway what I was referring to is an API for the profile-page wp-admin/profile.php which can be used like the Settings API (as also mentioned by westi in comment:4:ticket:16004)
Note: See
TracTickets for help on using
tickets.
Isn't that what
update_user_option()
and related functions do?