Used By
| Used By | Description |
|---|---|
| wp-includes/option.php: update_option() | Updates the value of an option that was already added. |
Filters a specific option before its value is (maybe) serialized and updated.
The dynamic portion of the hook name, $option, refers to the option name.
(mixed) The new, unserialized option value.
(mixed) The old option value.
(string) Option name.
File: wp-includes/option.php
| Version | Description |
|---|---|
| 4.4.0 | The $option parameter was added. |
| 2.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_update_option_option