Uma área de pesquisa sobre o WordPress para devs e autores do tema



pre_update_option ›

Desde3.9.0
Obsoleton/a
apply_filters( 'pre_update_option', $value, $option, $old_value )
Parâmetros: (3)
  • (mixed) $value The new, unserialized option value.
    Required: Yes
  • (string) $option Name of the option.
    Required: Yes
  • (mixed) $old_value The old option value.
    Required: Yes
Definido em:
Codex:

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





Fonte

$value = apply_filters( 'pre_update_option', $value, $option, $old_value );