Filters an option before its value is (maybe) serialized and updated.
$valuemixed
$optionstring
$old_valuemixed
$value = apply_filters( 'pre_update_option', $value, $option, $old_value );
| Version | Description |
|---|---|
| 3.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_update_option