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



pre_update_site_option_{$option} › WordPress Filter Hooks

Seit4.7.0
Veraltetn/v
apply_filters( "pre_update_site_option_{$option}", $value, $old_value, $option, $network_id )
Parameter: (4)
  • (mixed) $value New value of the network option.
    Erforderlich: Ja
  • (mixed) $old_value Old value of the network option.
    Erforderlich: Ja
  • (string) $option Option name.
    Erforderlich: Ja
  • (int) $network_id ID of the network.
    Erforderlich: Ja
Definiert in:
Codex:

Filters a specific network option before its value is updated.

The dynamic portion of the hook name, $option, refers to the option name.





Quellcode

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