#2332 closed enhancement (fixed)
New hook: update_option_{$option}
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.0 |
| Severity: | normal | Keywords: | bg|has-patch bg|commit |
| Cc: |
Description
Allows plugins to react when any particular option is updated via options.php. More reliable than checking globals.
Attachments (3)
Change History (11)
comment:3
davidhouse — 7 years ago
update_option() seems the more logical place.
- Resolution set to fixed
- Status changed from new to closed
- Keywords bg|commit added; bg|2nd-opinion bg|dev-feedback removed
- Resolution fixed deleted
- Status changed from closed to reopened
Wrong quotes. My bad.
- Resolution set to fixed
- Status changed from reopened to closed
Note: See
TracTickets for help on using
tickets.

Maybe it would be better in the actual update_option function. What do you think?