Opened 3 years ago
Last modified 5 months ago
#13548 new enhancement
Settings API to include user options
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Plugins | Version: | 2.7 |
| Severity: | normal | Keywords: | settings-api |
| Cc: | lol@…, contact@…, me@… |
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 (8)
comment:1
solarissmoke — 2 years ago
- Keywords close added; user user_option register_setting removed
- 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)
comment:4
sc0ttkclark — 13 months ago
- Cc lol@… added
I'd like to see this happen for the User Edit / Profile forms.
comment:5
SergeyBiryukov — 11 months ago
Related: #18709
comment:6
stephenh1988 — 11 months ago
- Cc contact@… added
comment:7
unknowndomain — 5 months ago
- Cc me@… added
- Keywords settings-3.6 added
comment:8
SergeyBiryukov — 5 months ago
- Keywords settings-api added; settings-3.6 removed
Note: See
TracTickets for help on using
tickets.

Isn't that what update_user_option() and related functions do?