wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



pre_update_option_{$option} › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
apply_filters( "pre_update_option_{$option}", $value, $old_value, $option )
Parameter: (3)
  • (mixed) $value The new, unserialized option value.
    Erforderlich: Ja
  • (mixed) $old_value The old option value.
    Erforderlich: Ja
  • (string) $option Option name.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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