Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_update_option_{$option} ›

Da4.4.0
Deprecaton/a
apply_filters( "pre_update_option_{$option}", $value, $old_value, $option )
Parametri: (3)
  • (mixed) $value The new, unserialized option value.
    Richiesto:
  • (mixed) $old_value The old option value.
    Richiesto:
  • (string) $option Option name.
    Richiesto:
Definito a:
Codex:

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.





Sorgenti

$value = apply_filters( "pre_update_option_{$option}", $value, $old_value, $option );