pre_update_option_{$option}

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

apply_filters( “pre_update_option_{$option}”, mixed $value, mixed $old_value, string $option )

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

参数

$value

(mixed)
The new, unserialized option value.

$old_value

(mixed)
The old option value.

$option

(string)
Option name.

源文件

文件: gc-includes/option.php

View on Trac