pre_update_option

最后更新于:2021-11-27 20:31:25

apply_filters( ‘pre_update_option’, mixed $value, string $option, mixed $old_value )

Filters an option before its value is (maybe) serialized and updated.

参数

$value

(mixed)
The new, unserialized option value.

$option

(string)
Name of the option.

$old_value

(mixed)
The old option value.

源文件

文件: gc-includes/option.php

View on Trac